pt_br
is the desired directory name in phpBBpt-br
is the desired value for 'USER_LANG'
in language/pt_br/common.phpExcuse,Crizzo wrote:Hi,
just two things:
-pt_br
is the desired directory name in phpBB
-pt-br
is the desired value for'USER_LANG'
in language/pt_br/common.php
So before you change everything to the wrong directory name, please ask the author of the language pack, to change it back to "pt_br".
See: https://area51.phpbb.com/docs/31x/codin ... ranslation Section "Normalisation of language tags for phpBB"
Regards
But the rule is language + region? In the case is Portuguese (Brazil), then conseguentemente be pt-br.Paul wrote:Translations for extensions should follow the same rules as phpBB, so should have a directory name with a underscore (So pt_br)
Yes, it is. But this is the language iso-code. In the directories of the language files, thehenrique.seven2011 wrote: But the rule is language + region? In the case is Portuguese (Brazil), then conseguentemente be pt-br.
An example of docs is en-US [Inglês (United States)].
-
will be replaced with a _
. This was the situation in 3.0 and it is still the same in 3.1. en
-> directory: en
de-x-sie
-> directory: de_x_sie
pt-br
-> directory: pt_br
I understood . We will see with the translation team.Crizzo wrote:Yes, it is. But this is the language iso-code. In the directories of the language files, thehenrique.seven2011 wrote: But the rule is language + region? In the case is Portuguese (Brazil), then conseguentemente be pt-br.
An example of docs is en-US [Inglês (United States)].-
will be replaced with a_
. This was the situation in 3.0 and it is still the same in 3.1.
So:That is what the coding-guidelines say.
en
-> directory:en
de-x-sie
-> directory:de_x_sie
pt-br
-> directory:pt_br
Any additional opinion from your side?_Vinny_ wrote:mention
So, the correct directory isCrizzo wrote:- pt_br is the desired directory name in phpBB
- pt-br is the desired value for 'USER_LANG' in language/pt_br/common.php
pt_br
. But due the change by the previous Translator Manager I kept as pt-br, I should change in the next update, again No problem, only a small misunderstanding.Crizzo wrote:I'm sorry for the bad circumstances due to our mistakes on earlier validation processes. :/