using the latest release of Piwigo (14.0.0beta2) with php 8.2.x is generally working fine.
What I am having troubles, is HOW the loading of languages is working.
For example: installed Piwigo with German (de_DE / code = de) as default.
But I am in the need of presenting German AND Austrian language at the same time (in the frontend only).
So, I have created another language called de_AT in a new folder.
Is selectable and defineable as default - (see image below):
But, the problem is, that while de_DE IS deactivated (see image again), the strings from the new de_AT file are NOT loaded.
Example: in Germany it is Januar (January), but in Austria it is Jänner.
But Januar (from the de_DE file) is displayed always (see image below):
As written above, I need both languages in one installation.
Overwriting the original variable is therefore no option.
Also not an option to delete the de_DE language files.
Second: how (and when) are languages loaded (for the frontend)? Third: what for is the file tools/language/translation_valided.inc.php ?
Can see there is a section de_DE - but what for are these values?
Forth: as I can see (example en_US), that there are only a few values defined.
I then assume, that the en_GB (or en_UK) is loaded per default, and the values of the en_US should overwrite then them.
Same should be available when using de_DE AND de_AT (because there are only a few minor differences between them ..).
Hope someone can answer my questions .. and maybe present a fix ..
Hello team,
using the latest release of Piwigo (14.0.0beta2) with php 8.2.x is generally working fine.
What I am having troubles, is HOW the loading of languages is working.
For example: installed Piwigo with German (de_DE / code = de) as default.
But I am in the need of presenting **German AND Austrian language at the same time** (in the frontend only).
So, I have created another language called de_AT in a new folder.
Is selectable and defineable as default - (see image below):

But, the problem is, that while de_DE IS deactivated (see image again), the strings from the new de_AT file are NOT loaded.
Example: in Germany it is Januar (January), but in Austria it is Jänner.
But Januar (from the de_DE file) is displayed always (see image below):

As written above, I need both languages in one installation.
Overwriting the original variable is therefore no option.
Also not an option to delete the de_DE language files.
**Second**: how (and when) are languages loaded (for the frontend)?
**Third**: what for is the file tools/language/translation_valided.inc.php ?
Can see there is a section de_DE - but what for are these values?
**Forth**: as I can see (example en_US), that there are only a few values defined.
I then assume, that the en_GB (or en_UK) is loaded per default, and the values of the en_US should overwrite then them.
Same should be available when using de_DE AND de_AT (because there are only a few minor differences between them ..).
Hope someone can answer my questions .. and maybe present a fix ..
<!-- github-sync-id:1858072385 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Hello team,
using the latest release of Piwigo (14.0.0beta2) with php 8.2.x is generally working fine.
What I am having troubles, is HOW the loading of languages is working.
For example: installed Piwigo with German (de_DE / code = de) as default.
But I am in the need of presenting German AND Austrian language at the same time (in the frontend only).
So, I have created another language called de_AT in a new folder.
Is selectable and defineable as default - (see image below):

But, the problem is, that while de_DE IS deactivated (see image again), the strings from the new de_AT file are NOT loaded.

Example: in Germany it is Januar (January), but in Austria it is Jänner.
But Januar (from the de_DE file) is displayed always (see image below):
As written above, I need both languages in one installation.
Overwriting the original variable is therefore no option.
Also not an option to delete the de_DE language files.
Second: how (and when) are languages loaded (for the frontend)?
Third: what for is the file tools/language/translation_valided.inc.php ?
Can see there is a section de_DE - but what for are these values?
Forth: as I can see (example en_US), that there are only a few values defined.
I then assume, that the en_GB (or en_UK) is loaded per default, and the values of the en_US should overwrite then them.
Same should be available when using de_DE AND de_AT (because there are only a few minor differences between them ..).
Hope someone can answer my questions .. and maybe present a fix ..