Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
How should we define "locale" attribute ?
Hi, Vanilla project members,
We are now translating Vanilla project to Japanese on Github.
https://github.com/yu-tang/Garden
On that way, we are wondering how should we define locale files.
We read this document,
http://vanillaforums.org/docs/localization
and on that page, there was the line,
"Please do not use a locale code like 'en-CA' for your locale. Different people may make a locale pack with the same locale as you and both must be able to co-exist on the addons site and even in an application. Translations go after the info array and have the following format:"
According to this, it sounds we should not use "lang-Country" attribute, like xml definition, to the locale setting, such as "ja-JP" or "en-US" or something like this.
So my questions is;
How should we define a Locale label,
'Locale' => what?
Please give us a key.
** We are talking about the modification to some files like this,
https://github.com/yu-tang/Garden/commit/d51fa7da58be391483dea54f64de833b29f62842#commitcomment-348455
then each pages make xml language definitions automatically, along with the locale files.
We are now translating Vanilla project to Japanese on Github.
https://github.com/yu-tang/Garden
On that way, we are wondering how should we define locale files.
We read this document,
http://vanillaforums.org/docs/localization
and on that page, there was the line,
"Please do not use a locale code like 'en-CA' for your locale. Different people may make a locale pack with the same locale as you and both must be able to co-exist on the addons site and even in an application. Translations go after the info array and have the following format:"
According to this, it sounds we should not use "lang-Country" attribute, like xml definition, to the locale setting, such as "ja-JP" or "en-US" or something like this.
So my questions is;
How should we define a Locale label,
'Locale' => what?
Please give us a key.
** We are talking about the modification to some files like this,
https://github.com/yu-tang/Garden/commit/d51fa7da58be391483dea54f64de833b29f62842#commitcomment-348455
then each pages make xml language definitions automatically, along with the locale files.
Tagged:
0
Comments