Hi devs,
It’s currently easy for a contributor to start translation a totally new locale (as in there was not a single translation for this locale before in XWiki Standard) on https://l10n.xwiki.org. In the old days of the previous implementation of https://l10n.xwiki.org someone had to create a Jira issue to request the addition of a new locale but these days it goes pretty much unnoticed. While this is a nice feature technically it also has some consequences: adding a new locale is not always as obvious as starting providing translations for it and some features simply won’t work for that locale if they are not aware of it, a recent example of that is Loading....
So I started a checklist of stuff that should ideally be covered before we can say that a locale is properly supported by XWiki on https://dev.xwiki.org/xwiki/bin/view/Community/L10N/SupportedLocales/ (please look at it and don’t hesitate to add stuff I missed or things for which you know more and would like to add more details). We actually already have problems with some of the currently “supported” locales (like Loading... that I mentioned above).
I would like to propose the following:
- in all pull requests created by Weblate we include a message linking to the supported locales pages requesting to make sure if a new translated file is actually a totally new locale from XWiki standard point of view
- we have to pass the checklist (which sometimes means modifying stuff in XWiki) to apply the pull request
In most cases there won’t be anything to do to support the locale, but some will require a bit more digging, and we can discuss pro and cons of accepting it despite some limitations (for which jira issue should be created) in extreme cases.
WDYT ?