Apache OpenOffice (AOO) Bugzilla – Issue 117857
Scottish Gaelic (gd) not recognized as locale
Last modified: 2014-03-28 13:40:03 UTC
Created attachment 76385 [details] locale info for gd/gd-GB I'll explain the whole problem, just in case. I posted to dev@l10 regarding a spellchecking issue. I upgraded from an older version (3.01 the last Scots Gaelic release (http://gd.openoffice.org/) and was unable to find a way of telling OO that a document is in Scots Gaelic (gd). Irish is listed but that's a different language (I mention this because I thought it might be a case of someone confusing Irish with Scots Gaelic). Neither Select Language for Document/Paragraph etc nor the Locale Settings nor the Default Language offers Scots Gaelic which means that spellchecking (oxt at http://extensions.services.openoffice.org/en/project/faclair-afb) in that language is now no longer working, which is a pain. Spellchecking did work in the Gaelic localisation. dev@l10n suggestested (quote) "There's "Gaelic (Scotland)" in the character attribution, also available under Tools->Language->For Selection/Paragraph. It is not available as locale and (default) document language because we have no locale data for gd-GB, but that was the same with OOo3.0.1" I used the generator (http://www.it46.se) to create an xml, downloaded, tweaked it (I spotted an error and an omission) and I'm attaching it. Any guidance on what next would be appreciated, thanks!
Eike, can yiu pls check if the data submitted is complete to proceed? thx!
Thank you for your contribution. Test compiling the data I got: Warning: QuotationStart may be wrong: U+201C “ Warning: QuotationEnd may be wrong: U+201D ” Warning: DoubleQuotationStart may be wrong: U+2018 ‘ Warning: DoubleQuotationEnd may be wrong: U+2019 ’ Warning: FormatCode formatindex="12" for currency uses parentheses for negative amounts, which probably is not correct for locales not based on en_US. Warning: FormatCode formatindex="13" for currency uses parentheses for negative amounts, which probably is not correct for locales not based on en_US. Warning: FormatCode formatindex="14" for currency uses parentheses for negative amounts, which probably is not correct for locales not based on en_US. Warning: FormatCode formatindex="15" for currency uses parentheses for negative amounts, which probably is not correct for locales not based on en_US. Warning: FormatCode formatindex="17" for currency uses parentheses for negative amounts, which probably is not correct for locales not based on en_US. QuotationStart/End and DoubleQuotationStart/End probably have to be swapped. The currency format codes [CURRENCY]#,##0.00;([CURRENCY]#,##0.00) probably should be [CURRENCY]#,##0.00;-[CURRENCY]#,##0.00 instead, same as in en_GB.xml locale data. Please confirm, and if correct consider to also correct that in the it46.se generator so the data may be submitted to CLDR as well.
Created attachment 76388 [details] revised locale info for gd Ah well spotted about those quotes. To be honest, I've seen both () and - for negative values in the UK but you're right, it should be - so I've changed that too. I've also contacted the generator people about how to submit revisions, they're documentation is a bit... patchy. thanks!
getting rid of value "enhancement" for field "severity". For enhancement the field "issue type" shall be used.
Alternatively, there is now a bigger locale XML for Gaelic on CLDR: http://unicode.org/cldr/trac/ticket/3914
Created attachment 79178 [details] new version Updating, thanks to Ariel Constenla-Haile for some general fixes. Good to go as far as I can tell.
Fixed on trunk with revision 1377765 and revision 1377766 Locale settings can be selected on the Options dialog. Numbering format works. @fios@akerbeltz.org: As I'm no expert in this area, nor in Scots Gaelic, you will have to test the functionality on your own, with a nightly build from trunk: http://ci.apache.org/projects/openoffice/install/ AFAIK only the Linux 64 bits bot is working right now. You have to download a nightly build with revision >= 1377766 (the revision is usually included in the file name).
I don't have a 64 machine running Linux, my only Linux system is 32
(In reply to comment #8) > I don't have a 64 machine running Linux, my only Linux system is 32 ok. I uploaded en-US full install sets, and gd language packs (RPM and DEB, Linux 32 bits) to http://people.apache.org/~arielch/packages/gd/ Please try first with the en-US full install set, as this bug does not require lang. pack installed to work, you should be able to set locale data to gd-GB in the default en-US version. The gd lang. pack includes the translation you uploaded in Bug 120708
Thanks very much again - that looks fine as far as I can tell. Good to go I'd say. Are you in a position to commit the po to Pootle too, incidentally? It's been a while and nothing seems to have happened. This setup is really ... complicated I must say, by far the most complicated way of handling l10n via pootle I've seen anywhere, it makes so much extra work for translators and people with commit rights, like inventing a bike and then asking everyone to carry it :/
(In reply to comment #10) > Thanks very much again - that looks fine as far as I can tell. Good to go > I'd say. Good to know. Thanks for testing. > Are you in a position to commit the po to Pootle too, incidentally? No, I don't have commit access to the server, only to OpenOffice source repository. I will comment on Bug 120708 and ping the developer in the know.
what is the status of this issue?
(In reply to comment #12) > what is the status of this issue? It is fixed on trunk, and confirmed by Michael I will resolve it as fixed Closed as verified should wait until an official release is done. Note: this bug is about the locale data, it is unrelated to UI/Help translation, so it can be verified on a default en-US installation built from trunk.
@jsc: The 3.4.1 respin includes GD. Shouldn't this fix be merged in branch AOO34?
merged in AOO 3.4.1 to make new lang GD usable
"jsc" committed SVN revision 1433841 into branches/AOO34: #117857# merge local data for GD