Issue 92866 - Vietnamese HC2 100% translated but displays English
Summary: Vietnamese HC2 100% translated but displays English
Status: RESOLVED FIXED
Alias: None
Product: Internationalization
Classification: Code
Component: helpcontent (show other issues)
Version: current
Hardware: All Windows XP
: P5 (lowest) Trivial (vote)
Target Milestone: ---
Assignee: Unknown
QA Contact: issues@l10n
URL: http://www.flickr.com/photos/8480574@...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-18 09:49 UTC by vuhung16plus
Modified: 2013-08-07 15:02 UTC (History)
4 users (show)

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


Attachments
Pootle search result (248.45 KB, image/jpeg)
2008-11-11 04:18 UTC, blueice7
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description vuhung16plus 2008-08-18 09:49:05 UTC
http://ooo.services.openoffice.org/pub/OpenOffice.org/cws/upload/localization/localisation30/

Vietnamese HC2 is marked as 100% translated in pootle[1] but when we load the help,
we see so many untranslated strings[2].

Why?

[1] http://pootle.sunvirtuallab.com:32300/vi/index.html
[2] http://www.flickr.com/photos/8480574@N08/2762930076/
Comment 1 vuhung16plus 2008-08-18 10:30:03 UTC
Related issue: http://www.openoffice.org/issues/show_bug.cgi?id=92834
Comment 2 Uwe Fischer 2008-11-06 13:50:04 UTC
Judging by the photo, it looks like the helpcontent2/source/text/shared files
did overwrite the vi translated files, while the
helpcontent2/source/text/swriter files are correct.
Comment 3 ivo.hinkelmann 2008-11-06 15:37:43 UTC
Hi vuhung,

can you please check if the official OOo 3.0 builds for VI also have this problem?
Comment 4 vuhung16plus 2008-11-06 15:47:12 UTC
ihi, 

I've just checked with 3.0.0 vi win32 on XP SP2, and yes, it still reproduces.

Here is a screenshot.

http://farm4.static.flickr.com/3272/3007499141_fa66a94b06_o.jpg
Comment 5 vuhung16plus 2008-11-07 03:36:37 UTC
FYI 

[vuhung@aoclife helpcontent2]$ ~/usr/src/linux/gsicheck_1.9.0/gsicheck
source/text/shared/localize.sdf 
Error: Line format, Line 1: Format of line is unknown. Ignoring!
Error: Line format, Line 2: Format of line is unknown. Ignoring!
Error: Line format, Line 3: Format of line is unknown. Ignoring!
Error: Line format, Line 4: Format of line is unknown. Ignoring!
Error: Line format, Line 5: Format of line is unknown. Ignoring!
Error: Line format, Line 6: Format of line is unknown. Ignoring!
Error: Line format, Line 7: Format of line is unknown. Ignoring!
Error: Line format, Line 8: Format of line is unknown. Ignoring!
Error: Line format, Line 9: Format of line is unknown. Ignoring!
Error: Line format, Line 10: Format of line is unknown. Ignoring!
Error: Line format, Line 11: Format of line is unknown. Ignoring!
Error: Line format, Line 12: Format of line is unknown. Ignoring!
Error: Line format, Line 13: Format of line is unknown. Ignoring!
Error: Line format, Line 14: Format of line is unknown. Ignoring!
Error: Line format, Line 15: Format of line is unknown. Ignoring!
Error: Line format, Line 16: Format of line is unknown. Ignoring!
Error: Line format, Line 17: Format of line is unknown. Ignoring!
Error: Line format, Line 18: Format of line is unknown. Ignoring!
Error: Line format, Line 19: Format of line is unknown. Ignoring!
Error: Line format, Line 20: Format of line is unknown. Ignoring!
Error: Line format, Line 21: Format of line is unknown. Ignoring!
Error: Line format, Line 22: Format of line is unknown. Ignoring!
Error: Line format, Line 23: Format of line is unknown. Ignoring!
Error: Line format, Line 24: Format of line is unknown. Ignoring!
Error: Line format, Line 25: Format of line is unknown. Ignoring!
Error: Line format, Line 26: Format of line is unknown. Ignoring!
Error: Line format, Line 27: Format of line is unknown. Ignoring!
Error: Line format, Line 28: Format of line is unknown. Ignoring!
Error: Line format, Line 29: Format of line is unknown. Ignoring!
Error: Line format, Line 30: Format of line is unknown. Ignoring!
Error: Line format, Line 31: Format of line is unknown. Ignoring!
Error: Line format, Line 32: Format of line is unknown. Ignoring!
Error: Line format, Line 33: Format of line is unknown. Ignoring!
Error: Line format, Line 34: Format of line is unknown. Ignoring!
Error: Line format, Line 35: Format of line is unknown. Ignoring!
Error: Line format, Line 36: Format of line is unknown. Ignoring!
Error: Line format, Line 37: Format of line is unknown. Ignoring!
Error: Line format, Line 38: Format of line is unknown. Ignoring!
Error: Line format, Line 39: Format of line is unknown. Ignoring!
Error: File format, Line 100: No source language entry defined!
Error: File format, Line 160: No source language entry defined!
Error: File format, Line 220: No source language entry defined!
Error: File format, Line 280: No source language entry defined!
Error: File format, Line 342: No source language entry defined!
Error: File format, Line 402: No source language entry defined!
Error: File format, Line 464: No source language entry defined!
Error: File format, Line 524: No source language entry defined!
Error: File format, Line 586: No source language entry defined!
Error: File format, Line 646: No source language entry defined!
Error: File format, Line 708: No source language entry defined!
Error: File format, Line 768: No source language entry defined!
Error: File format, Line 829: No source language entry defined!
Error: File format, Line 888: No source language entry defined!
Error: File format, Line 947: No source language entry defined!
Comment 6 vuhung16plus 2008-11-07 05:58:23 UTC
I've search the string "colors are treated as" in all the files under
helpcontent2 and found it in "source/text/sbasic/shared/00000002.xhp" and 
"source/text/sbasic/shared/localize.sdf". 

However, I couldn't file this string in pootle( see below) so I think there is
something wrong.

Question: Is that the .po files in pootle.sunvirtuallab.com are used in 
OOo_3.0.0_src_l10n.tar.bz2 ? 

Where is the logic( the code) that generates:
"source/text/sbasic/shared/localize.sdf"


.po files in pootle:

http://pootle.sunvirtuallab.com/vi/helpcontent2/
http://pootle.sunvirtuallab.com/vi/helpcontent2/helpcontent2-vi.zip

Some text grep()'ed from helpcontent2:

"source/text/sbasic/shared/00000002.xhp" line 56 of 80 --70%-- col 31
<section id="colors">
<paragraph role="heading" id="hd_id3155854" xml-lang="en-US" level="2" l10n="U"
oldref="29">Colors</paragraph>
<paragraph role="paragraph" id="par_id3145366" xml-lang="en-US" l10n="U"
oldref="30">In $[officename] Basic, colors are treated as long integer value.
The return value of color queries is also always a long integer value. When
defining properties, colors can be specified using their RGB code that is
converted to a long integer value using the <link
href="text/sbasic/shared/03010305.xhp" name="RGB function">RGB
function</link>.</paragraph>
</section>


------------------------

"source/text/sbasic/shared/localize.sdf" line 474 of 301550 --0%-- col 1ink
href=\"text/sbasic/shared/0301030
helpcontent2    source\text\sbasic\shared\00000002.xhp  0       help   
par_id3145366   30                      0       vi      In $[officename] Basic,
colors are treated as long integer value. The return value of color queries is
also always a long integer value. When defining properties, colors can be
specified using their RGB code that is converted to a long integer value using
the \<link href=\"text/sbasic/shared/03010305.xhp\" name=\"RGB function\"\>RGB
function\</link\>.                               2002-02-02 02:02:02
helpcontent2    source\text\sbasic\shared\00000002.xhp  0       help   
par_id3145366   30                      0       zh-CN   在 $[officename] Basic
中,可将颜色作为长整数值处理。颜色查询的返回值通常也是长整数值。定义属性时,>可
使用 RGB 代码指定颜色,该代码使用 \<link
href=\"text/sbasic/shared/03010305.xhp\" name=\"RGB function\"\>RGB
function\</link\> 转换为长整数。                             2002-02-02 02:02:02
helpcontent2    source\text\sbasic\shared\00000002.xhp  0       help   
par_id3145366   30                      0       zh-TW   在 $[officename] Basic
中,顏色被視為長型整數值。顏色查詢的傳回值通常也是長型整數值。在定義屬性時,>可
以使用 RGB 代碼來指定顏色,該代碼透過 \<link
href=\"text/sbasic/shared/03010305.xhp\" name=\"RGB 函數\"\>RGB 函>數\</link\>轉
換成長型整數值。                             2002-02-02 02:02:02


Comment 7 ivo.hinkelmann 2008-11-07 13:35:56 UTC
Hi .... I found in the source:

helpcontent2    source\text\sbasic\shared\00000002.xhp  0   help   
par_id3154731   6           0   vi  A twip is a screen-independent unit which is
used to define the uniform position and size of

so the VI string is in English

sadly the EIS database is down at the moment , I will check if this string was
delivered in the wrong state for the last localization cws ...

Can you please check if this string is also broken in pootle?
Comment 8 ivo.hinkelmann 2008-11-07 13:36:33 UTC
-> change component to l10n
Comment 9 ivo.hinkelmann 2008-11-07 13:37:34 UTC
-> set subcomponent to helpcontent
Comment 10 ivo.hinkelmann 2008-11-07 13:41:09 UTC
petr, can you please check those strings in the pootle database?
Comment 11 vuhung16plus 2008-11-07 13:44:34 UTC
ihi,

I've grep the string "The return value of color"( which is in locale.sdf) on all
the files in pootle
( pootle.sunvirtuallab.com ) but there was no hit.

My guess is that: Are the po files in pootle are correct?
Comment 12 ivo.hinkelmann 2008-11-07 13:52:45 UTC
I don't have access to the pootle server , Petr might help here ...
Comment 13 vuhung16plus 2008-11-07 14:28:35 UTC
Here are the files in pootle you need. 
I downloaded them 10 munites ago.

http://aoclife.ddo.jp/~vuhung/foss/ooo/tmp/openoffice_org-vi.zip
http://aoclife.ddo.jp/~vuhung/foss/ooo/tmp/helpcontent2-vi.zip
Comment 14 petr.dudacek 2008-11-10 14:22:56 UTC
Aijin, can you please have a look?
Thanks,
Petr
Comment 15 blueice7 2008-11-11 03:58:43 UTC
Hi vuhung and all,

I've searched the string "The return value of color" in Pootle and could see the
string existed and localized. Please refer to the attached screenshot

I also checked the sdf which had been delivered from Pootle, and still could see
the localized string.
http://sunvirtuallab.com:32305/sdf/20080807/vi-080807.sdf

In Web ling tool, the string is localized as well, therefore I think the string
is correctly imported to DB.
Comment 16 blueice7 2008-11-11 04:18:25 UTC
Created attachment 57857 [details]
Pootle search result
Comment 17 vuhung16plus 2008-11-11 04:23:11 UTC
Hi Aiji Kim,

Why it is 080807? Is that too old?

http://sunvirtuallab.com:32305/sdf/20080807/vi-080807.sdf

# Btw, 3 days ago, I've search the same string "The return value of color" and
nothing was found. 

Now we know that the localize.sdf file in pootle and OOo 3.0.0 source are
different: ( the one in pootle has the string "The return value of color"
translated while OOo 3.0.0 does not). 

Anyone can help?
Comment 18 blueice7 2008-11-11 04:53:25 UTC
Hi vuhung,

> Why it is 080807? Is that too old?

It was the last delivery for 3.0 from Pootle (Aug 7th,2008). You can see the 3.0
schedule here:
http://wiki.services.openoffice.org/wiki/Translation_for_3.0#Translation_Schedule

> Now we know that the localize.sdf file in pootle and OOo 3.0.0 source are
different

Yes, I confirmed that the string is correctly localized not only in Pootle, but
also in DB. Might be some error during build?

ihi,
Can you please take a look what did go wrong?

Thanks,
Aijin
Comment 19 ivo.hinkelmann 2008-11-11 12:50:51 UTC
hmmm ... this string haven't changed since a long time in the code:

1.8          (rt       24-Jun-05): helpcontent2
source\text\sbasic\shared\00000002.xhp  0       hcd OOOelp    par_id3145366   30
                     0       vi      In $[officename] Basic, colors are treated
as long integer value. The return value of color queries is also always a long
integer value. When defining properties, colors can be specified using their RGB
code that is converted to a long integer value using the \<link
href=\"text/sbasic/shared/03010305.xhp\" name=\"RGB function\"\>RGB
function\</link\>.                               2002-02-02 02:02:02

I test merged this string into the code , there seems not to be a tooling issue
... I can not say why this string don't went into the code. I can only propose
that we merge vi again complete during the next l10n cws
Comment 20 vuhung16plus 2008-11-11 13:02:52 UTC
Re:ihi,

The final 3.0.0 is already out so we can't do anything with it.

When is the next l10n cws?
Please let me know so I can test. 
Comment 21 ivo.hinkelmann 2008-11-11 13:13:17 UTC
we should fix this for the OOo 3.1
Comment 22 vuhung16plus 2008-11-18 17:36:26 UTC
ihi: but why not 3.0.1?
Comment 23 ivo.hinkelmann 2008-11-18 17:44:26 UTC
the OOo 3.0.1 is planed only with minor changes without L10N related fixes
Comment 24 Martin Hollmichel 2009-04-17 15:18:18 UTC
ping ?!
Comment 25 ivo.hinkelmann 2009-04-20 14:07:19 UTC
is this problem still present in the 3.1 rc ?
Comment 26 ivo.hinkelmann 2009-04-20 14:07:51 UTC
set target to 3.2
Comment 27 vuhung16plus 2009-04-20 14:09:54 UTC
Thanks for the reminder.

This bug is fixed in 3.1.0rc1!

Thanks for your hard work.
Comment 28 thorsten.ziehm 2009-11-05 08:35:04 UTC
When this issue is fixed, I set it to that state. Please check again in OOo 3.2.
If the problem still occurs, please set this issue to target 3.3 and fix it. Thx