On 5 Dec 2017, at 09:43, Thomas Mortagne <[email protected]> wrote:
On Tue, Dec 5, 2017 at 9:39 AM, Vincent Massol <[email protected]> wrote:
On 5 Dec 2017, at 09:00, Thomas Mortagne <[email protected]> wrote:
On Mon, Dec 4, 2017 at 8:29 PM, Vincent Massol <[email protected]> wrote:
Thanks to all who answered.
I’ve now documented it at: * http://dev.xwiki.org/xwiki/bin/view/Community/DevelopmentPractices#HGeneral * http://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/I18N
@Thomas: I’ve tried to add a new language by following http://l10n.xwiki.org/xwiki/bin/view/L10N/AddALanguage but I couldn’t find the page referenced by "Edit the main page of the application.”. Do you think you could add en_GB to the list?
What l10n calls "application" is what you can see listed in the "Available Applications" panel (on the left), you just need to edit it and add your locale.
There are 4 apps there. Does it mean I need to add the new language to all 4 apps?
Yes.
Does it also mean that the list of supported languages in the panel on the right is the sum of all languages supported by all those apps (ie a flag can there even if only supported by only 1 app)?
The panel on the right depends on the context (if you are on the home page then it's all the supported languages in all applications).
ok thanks, didn’t know that ;) -Vincent
Thanks -Vincent
Also, I think we should mention somewhere that the en_US version is maintained in Git by the XWiki Core dev team and explain how people could contribute to the en_US version. WDYT?
Done on the home page.
Thanks -Vincent
On 4 Dec 2017, at 13:35, Vincent Massol <[email protected]> wrote:
Hi devs,
By default the xwiki core committers maintain an “en” version of all translations and the other languages are left to the community to maintain on l10n.xwiki.org
This mail is about deciding if our “en” version is “en_US” or “en_GB”.
I propose that we standardize on “en_US”. for example ApplicationResources.properties would correspond to en_US.
I also propose that we add en_GB on l10n so that the community could maintain a UK version if they want (it would fall back to en_US when there are no translations, which is a good thing).
WDYT?
Thanks -Vincent
-- Thomas Mortagne
-- Thomas Mortagne