Issue 117857 - Scottish Gaelic (gd) not recognized as locale
Summary: Scottish Gaelic (gd) not recognized as locale
Status: CLOSED FIXED
Alias: None
Product: Native-Lang
Classification: NLC
Component: gd (show other issues)
Version: 3.4.1
Hardware: All All
: P3 Normal
Target Milestone: 3.4.1
Assignee: Ariel Constenla-Haile
QA Contact: issues@l10n
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-14 21:29 UTC by fios
Modified: 2014-03-28 13:40 UTC (History)
4 users (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
locale info for gd/gd-GB (13.50 KB, text/plain)
2011-04-14 21:29 UTC, fios
no flags Details
revised locale info for gd (13.50 KB, text/plain)
2011-04-15 09:10 UTC, fios
no flags Details
new version (18.17 KB, text/xml)
2012-08-27 15:20 UTC, fios
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description fios 2011-04-14 21:29:51 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!
Comment 1 rafaella.braconi 2011-04-15 08:07:15 UTC
Eike, can yiu pls check if the data submitted is complete to proceed? thx!
Comment 2 ooo 2011-04-15 08:55:28 UTC
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.
Comment 3 fios 2011-04-15 09:10:37 UTC
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!
Comment 4 Oliver-Rainer Wittmann 2012-06-13 12:31:13 UTC
getting rid of value "enhancement" for field "severity".
For enhancement the field "issue type" shall be used.
Comment 5 fios 2012-08-25 00:32:19 UTC
Alternatively, there is now a bigger locale XML for Gaelic on CLDR: http://unicode.org/cldr/trac/ticket/3914
Comment 6 fios 2012-08-27 15:20:03 UTC
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.
Comment 7 Ariel Constenla-Haile 2012-08-27 18:06:40 UTC
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).
Comment 8 fios 2012-09-02 11:03:04 UTC
I don't have a 64 machine running Linux, my only Linux system is 32
Comment 9 Ariel Constenla-Haile 2012-09-03 01:51:00 UTC
(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
Comment 10 fios 2012-09-04 00:33:07 UTC
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 :/
Comment 11 Ariel Constenla-Haile 2012-09-04 01:04:18 UTC
(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.
Comment 12 jsc 2012-09-20 11:53:36 UTC
what is the status of this issue?
Comment 13 Ariel Constenla-Haile 2012-09-20 12:20:45 UTC
(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.
Comment 14 Ariel Constenla-Haile 2013-01-12 13:05:38 UTC
@jsc: The 3.4.1 respin includes GD. Shouldn't this fix be merged in branch AOO34?
Comment 15 jsc 2013-01-16 07:55:58 UTC
merged in AOO 3.4.1 to make new lang GD usable
Comment 16 SVN Robot 2013-01-16 08:24:12 UTC
"jsc" committed SVN revision 1433841 into branches/AOO34:
#117857# merge local data for GD