Issue 93555 - "Arabic" is listed as "Unknown" in "Language of UI"
Summary: "Arabic" is listed as "Unknown" in "Language of UI"
Status: CLOSED FIXED
Alias: None
Product: Internationalization
Classification: Code
Component: code (show other issues)
Version: OOO300m5
Hardware: All All
: P3 Trivial with 2 votes (vote)
Target Milestone: ---
Assignee: khirano
QA Contact: issues@l10n
URL:
Keywords:
: 79431 (view as issue list)
Depends on:
Blocks: 88888
  Show dependency tree
 
Reported: 2008-09-07 03:56 UTC by khirano
Modified: 2013-08-07 15:02 UTC (History)
5 users (show)

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


Attachments
"Arabic" listed as "Unknown" on ja build + ar and en_GB lang packs (50.24 KB, image/jpeg)
2008-09-07 03:59 UTC, khirano
no flags Details
Arabic language listed as "Unknown" (64.53 KB, image/jpeg)
2008-09-13 00:35 UTC, okhayat
no flags Details
I cant see Arabic option (62.53 KB, image/png)
2009-01-23 18:55 UTC, omlx
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description khirano 2008-09-07 03:56:57 UTC
I installed ar, en_GB, zh_TW language packs on ja build.
If you go Tools -> Options -> Language Settings -> Languages, the "Language of
interface" list box lists "Arabic" as "Unknown".

I don't know about en_US build and language pack because I am lazy to install
en_US build and there are no en_US language pack :)
Comment 1 khirano 2008-09-07 03:59:46 UTC
Created attachment 56290 [details]
"Arabic" listed as "Unknown" on ja build + ar and en_GB lang packs
Comment 2 jeongkyu.kim 2008-09-07 17:03:51 UTC
Confirmed in Korean build also.
Comment 3 sgautier.ooo 2008-09-07 17:46:29 UTC
Hi, 
Confirmed in FR version too. The string [Unknown] is localized in French.

Kind regards - Sophie
Comment 4 ivo.hinkelmann 2008-09-08 12:32:15 UTC
The translation itself for "Arabic" looks good ... I guess there is something
wrong with the installed language id written during the installation. Ingo can
you please have a look ?
Comment 5 ingo.schmidt-rosbiegal 2008-09-08 15:17:41 UTC
Supposed to be a problem of "ar" in LanguagePack, that matches to
LANGUAGE_ARABIC in isolang.cxx, that does not match in Langtab.src.

1. Langtab.src in svtools:



        < "Arabic (Iraq)" ; LANGUAGE_ARABIC_IRAQ ; > ;

        < "Arabic (Egypt)" ; LANGUAGE_ARABIC_EGYPT ; > ;



-> No LANGUAGE_ARABIC



2. isolang.cxx in i18npool:



    { LANGUAGE_ARABIC,                      "ar", ""   },

    { LANGUAGE_ARABIC_EGYPT,                "ar", "EG" },

    { LANGUAGE_ARABIC_SAUDI_ARABIA,         "ar", "SA" },





3. Langpack-ar.xcu in the LanguagePack:



<?xml version="1.0" encoding="UTF-8"?>

<oor:component-data oor:name="Setup" oor:package="org.openoffice"
xmlns:oor="http://openoffice.org/2001/registry"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

	<node oor:name="Office">

		<node oor:name="InstalledLocales">

			<node oor:name="ar" oor:op="replace">

                <prop oor:name="Origin"><value>OpenOffice.org</value></prop>

            </node>

		</node>

	</node>

</oor:component-data>

Comment 6 ivo.hinkelmann 2008-09-08 16:33:49 UTC
cc'ing ihi
Comment 7 ooo 2008-09-09 14:23:24 UTC
@ihi: Any reason why this issue is targeted to OOo3.0 but is not officially
declared as show stopper? From the code it looks as if an Arabic language pack
always was displayed as Unknown, so this is not a new defect.

So, is this important enough to declare it as show stopper ? I could have a CWS
ready this evening or by tomorrow, I think, that displayed "Arabic (Egypt)"
instead. If this is not a show stopper I wouldn't bother the next days or weeks
and retarget to OOo3.1
Comment 8 ivo.hinkelmann 2008-09-09 14:57:22 UTC
for sure it looks a bit silly ... MH should decide
Comment 9 munzirtaha 2008-09-09 17:09:55 UTC
Yes, its important enough to have it fixed. If OOo cannot even display the name
of the language, who would trust it to implement the other more obscure features
specific to RTL?

I tested in Linux and has same issue
OS: Windows -> OS: All
Comment 10 ooo 2008-09-09 19:12:50 UTC
Working on this in CWS i93555.
Comment 11 ooo 2008-09-09 22:02:08 UTC
In cws i93555:

i18npool/source/isolang/isolang.cxx  1.16.26.1

Now displayed as "Arabic (Egypt)".
Comment 12 munzirtaha 2008-09-10 00:14:27 UTC
Thanks a lot for the quick fix. However, I believe it's better to use just
Arabic with no country associated with the interface language. Unlike English
where there is a US and UK versions, Arabic has one and only one spelling. Using
the country in a context where regional settings like currency and locale
settings is meant is valid but for the mere interface language it's better to be
neutral. OOo already has independent way to set the locale and currency and the
like. Just a thought.
Comment 13 ooo 2008-09-10 00:27:12 UTC
Reassigning to QA for verification.

@munzirtaha: Can't display solely "Arabic" because the language list box
currently doesn't have that entry (which in fact was one of the causes of this
issue) and we can't add an entry because that would mean a new string that had
to be translated again, despite the fact that it would need a new mechanism to
not display it in other context e.g. if only locales are to be selected.
Displaying a locale for UI languages instead of just the language is done for
quite a few language packs, e.g. 'de' is displayed as "German (Germany)".
Comment 14 ooo 2008-09-10 00:29:34 UTC
Resetting to fixed.
Comment 15 khirano 2008-09-10 01:34:51 UTC
@er: Thanks for the fix :)
Now we can install ar lang pack and use Arabic UI by selecting "Arabic (Egypt)", 
not "Unknown" with OpenOffice.org 3.0.0.  This is great!

@munzirtaha: I agree with you about "just Arabic with no country associated with 
the interface language" since Arabic has one and only one spelling as you say.  
Can we ask the developer team to help realize it Later?

@er: Could we add the entry "Arabic" to the language list box and implement the 
new mechanism to not display it in other context Later?

May I file another issue "Add 'Arabic' to language list box"?


Comment 16 munzirtaha 2008-09-10 01:44:16 UTC
@khirano: I agree that it's better to file another separate issue for this. Let
me know the issue id.
Comment 17 khirano 2008-09-10 05:39:10 UTC
OK, munzirtaha san,

It's i93694.

Thanks, khirano
Comment 18 oc 2008-09-10 15:15:57 UTC
verified in internal build cws_i93855
Comment 19 okhayat 2008-09-13 00:32:27 UTC
I've just installed "OOo_3.0.0rc1_20080904_Win32Intel_install_en-US.exe" and
"OOo_3.0.0rc1_20080904_Win32Intel_langpack_ar.exe" and still the Arabic language
shows as Unknown!
Screenshot attached.
Comment 20 okhayat 2008-09-13 00:35:42 UTC
Created attachment 56507 [details]
Arabic language listed as "Unknown"
Comment 21 khirano 2008-09-13 00:48:27 UTC
Hi okhayat san,

You are right!

That's why I raised this issue :)

We hope OOo_3.0.0rc2 fix it.

And it will be fixed because "oc" said in the above comment, "verified in
internal build cws_i93855."
:)

okhayat san, please check OOo_3.0.0rc2 when it is released.

Thanks.



Comment 22 Olaf Felka 2008-09-18 09:09:34 UTC
@ khirano: please close this issue when fixed in master
Comment 23 khirano 2008-09-22 15:19:47 UTC
Verified with OOo_3.0.0rc2_20080920_Win32Intel_install_en-US.exe and
OOo_3.0.0rc2_20080920_Win32Intel_langpack_ar.exe.
Comment 24 Joost Andrae 2009-01-19 15:01:28 UTC
*** Issue 79431 has been marked as a duplicate of this issue. ***
Comment 25 omlx 2009-01-23 18:53:41 UTC
I have downloaded last version beta 3.1 to check this bug if it fixed or not.
Now I can not see arabic or unknown option at all !! see the attachment. 
Comment 26 omlx 2009-01-23 18:55:16 UTC
Created attachment 59634 [details]
I cant see Arabic option
Comment 27 hdu@apache.org 2009-01-30 08:58:41 UTC
> I cant see Arabic option

It's there but it is hidden due to issue 97710, just scroll up => fixed in DEV300_m40