Meanwhile (since 2018-04-22) Aranese got a language variant subtag registered with IANA, 'aranes'. All current use of oc-ES should be changed to oc-aranes-ES, mapping oc-ES for forward compatibility. See https://www.iana.org/assignments/lang-subtags-templates/aranes.txt https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
@Javier: this means you want to add oc-aranes-ES to your spell checker dictionary's dictionaries.xcu Locales property if not already done.
Just a question, what's the point to change oc-ES language code to oc-aranes-ES? AFAIK, Araneses is the only variant of Occitan language spoken in Spain, so oc-ES is a good identifier for it.
Because oc-aranes is the *correct* language tag for the Aranese Occitan dialect. We should recognize it anyway, but we can only write one language tag and that should be the most correctly identifying one, which will also be the internal assignment. This way other software that also started to use oc-aranes (and does not use the old oc-ES kludge) will be able to handle things correctly.
Similar for Languedocien {oc-FR} that has the 'lengadoc' subtag since 2018-04-22, change to {oc-lengadoc-FR}.
Oops, the correct tags are of course oc-ES-aranes and oc-FR-lengadoc.
With language-variant (without region) fallbacks to oc-aranes and oc-lengadoc.
Eike Rathke committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/196f2b6f8e61cd8e78f6f8dfda6b55c4fbaec0c8 Resolves: tdf#147390 tag oc-FR to oc-FR-lengadoc, oc-ES to oc-ES-aranes It will be available in 7.4.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Eike Rathke committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/dictionaries/commit/15c340d66842e3f99729e20686ffec28d36c2784 Related: tdf#147390 Add oc-FR-lengadoc to oc_FR/dictionaries.xcu
Eike Rathke committed a patch related to this issue. It has been pushed to "libreoffice-7-3": https://git.libreoffice.org/core/commit/b545b6b2bf7e56047211ea4ec974054a522cc2e9 Related: tdf#147390 Accept oc-FR-lengadoc and oc-ES-aranes for oc-FR and oc-ES It will be available in 7.3.5. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
@jmontane: BTW I also find the new tags weird but hey! I am not an IANA anglocentric guru.
For my part, there is no problem in using oc-aranes-ES instead of oc-ES as long as it appears in the libreoffice language options, although as jmontane comments, it is the only Occitan variant in Spain. Thanks.
(In reply to Javier from comment #11) > For my part, there is no problem in using oc-aranes-ES That would be *wrong*. langtag = language ["-" script] ["-" region] *("-" variant) ... https://datatracker.ietf.org/doc/html/rfc5646#section-2.1