Apache OpenOffice (AOO) Bugzilla – Issue 18069
Support for interlingua as document language
Last modified: 2013-08-07 15:00:08 UTC
I have added a spell-checking dictionary for interlingua. It would be very nice if interlingua also could be added to the set of supported languages. Today, the user has to pretend it is some other language, e.g italian. NOTE: I am only talking about setting the document language, NOT translating all menus etc. WHAT IS INTERLINGUA, AND WHY IS THIS WORTH DOING? Interlingua is an international auxiliary language, and is easy to understand, especially for people who speak Spanish, Portugese, or Italian. There exists a large community on the net who correspond and write documents in interlingua, and who would benefit from this improvement. More information about the language and community can be found on <www.interlingua.com> The ISO 639 code for interlingua is "ia".
Hi, FWIW: I can confirm this issue exists. Kevin
DL->TL: Would you please takeover?
TL->ER: If it really has to be one of the possible default document language we probably need locale data for it. Thus I think may be you know something about. According to DL you currently should only check what needs to be done for this task.
To add Interlingua as a known language is fairly simple, see issue 11530. To add locale data would be not much harder, see http://l10n.openoffice.org/i18n_framework/LocaleData.html However, IMHO it doesn't make sense to add locale data for Interlingua, since along with locale data come number formats, separators, calendar, currency, all locale specific, which for Interlingua are not defined at all, are they? Instead of having it selectable as a default document language (with wrong locale settings for most of its users) I suggest to simply create a template document with Interlingua as the assigned language under Format.Character.Font
Well, currency is of course not relevant, since it's an international language, but decimal separator, dates etc. are well defined. I think I could provide all the data, but I would need someone to tell me exactly what data is needed.
Have a look at http://l10n.openoffice.org/i18n_framework/LocaleData.html and take i18npool/source/localedata/data/en_US.xml as a template, additional comments are in i18npool/source/localedata/data/locale.dtd However, I find it hard to believe that such things as decimal and group (AKA thousand) separators are globally defined for the Interlingua language, because it would mean that whenever documents were exchanged people would not see the numbers being displayed as they are used to. For example, the number string 1.000 in Germany means one thousand, in USA it means just one (dot zero zero zero). I also haven't found any web reference for Interlingua locale data so far. Where are those defined?
OH -> ER If Interlingua didn't specify the what the decimal separator shall be, you wouldn't be able to interpret a number in an interlingua document unless you knew the nationality of the author. Not very useful! If you are still skeptical, you can check out this link to the online version of "Interlingua Grammar", which states that the decimal separator is comma: http://www.geocities.com/linguablau/parts_speech_numerals.html#123 I will have a look at the locale data files and specify separators, names of days, months etc., but I wonder what to do with things that are not relevant, like "country" and "currency". Can they just be left out?
Ove, I got your point, didn't know that even decimal and group separators were defined. However, what about date and time separators and date order (year-month-day or day-month-year or month-day-year)? Regarding the currency: Currently we need it in locale data and can't overrideit during runtime, this is an obstacle. Country can and should be left blank.
Created attachment 9432 [details] Locale file for Interlingua
Hi Ove, Please take a look at i18npool/source/localedata/data/locale.dtd 1.10.76.2 and the LC_INDEX section therein. Could you make any suggestion what I should add for that section in your locale data? For an example see i18npool/source/localedata/data/en_US.xml 1.10.86.1 or other *.xml files of branch cws_src680_i18n12. Thanks Eike
Hi Eike, The LC_INDEX should look like this. /Ove <LC_INDEX> <IndexKey unoid="alphanumeric" default="true" phonetic="false">A-Z</IndexKey> <UnicodeScript>0</UnicodeScript> <UnicodeScript>1</UnicodeScript> <FollowPageWord> s.</FollowPageWord> <FollowPageWord> ss.</FollowPageWord> </LC_INDEX>
Add dependency to issue 30108.
Added to branch cws_src680_i18naddloc: i18npool/source/localedata/localedata.cxx 1.26.4.3 i18npool/source/localedata/data/ia.xml 1.1.2.1 i18npool/source/localedata/data/localedata_others.map 1.3.4.2 i18npool/source/localedata/data/makefile.mk 1.23.2.3 Note some minor corrections in ia.xml.
Reopen to reassign.
Reassign to QA.
Restore status.
found fixed on cws I18nAddLoc
closed because fix available in >=OOo1.9m49