with the latest release of phpBB 3.1.10 and the validation process of new language packs, a existing mistake in the language packs came to our mind.
Regarding to our coding guidelines for phpBB 3.1 I want to highlight one point, which was misunderstoond in some language packs in the last version and not noticed in the validation process.
Build a language tag involves sometimes subtags, which decribes this language pack. It looks like:
This leads to a language tag for e.g. "German (Formal Honorifics)":
This is the tag, which should be used in the array:
Code: Select all
'USER_LANG' => 'de-x-sie',
As you can easily see the directory name uses
That is where the Normalisation of language tags for phpBB comes in place.
In the guidelines is written:
You'll find the example in the coding guidelines.For phpBB, the language tags are not used in their raw form and instead converted to all lower-case and have the hyphen - replaced with an underscore _ where appropriate, with some examples below
So please follow these examples, when you create language packs and upload them to the Customisation Database.
-and the directory name with