Hi Tora, thankyou for your helpful reply. :)

On 13/08/2007, at 5:26 PM, tora - Takamichi Akiyama wrote:

How difficult would it to be to make it work with non-Sun languages?

It would be easy.
 - What language of OpenOffice.org do you use? vi-VN?

"vi"

- Does your OpenOffice.org have C:\Program Files\OpenOffice.org 2.3 \help\vi ?

I use a Mac. My team has only started supporting Help translation with OpenOffice.org 2.3, and I'm downloading the m224 Mac Intel build now. I'll check if our language code is in the help dir.

   In that case, the tool should work with your language.

Great! :D

If the tool does not work, try to directly specify your language in the macro.

Tools - Macros - Organize Macors - OpenOffice.org Basic -
HC2_93824_89_2007_06_0x.ods - Standard - Module1 - onClicked - [Edit]

You will find the following lines:
=====
sSystem = GetRegistryKeyContent("org.openoffice.Office.Common/ Help").GetByName("System") sLanguage = GetRegistryKeyContent("org.openoffice.Setup/ L10N/").getByName("ooLocale")
        'sLanguage = "en-US"
        
'sURL = "vnd.sun.star.help://" & s & "?Language=" & sLanguage & "&System=" & sSystem & "#" & sAnchor sURL = "vnd.sun.star.help://" & s & "?Language=" & sLanguage & "&System=" & sSystem & "&UseDB=no&DbPAR=" & sModule & "#" & sAnchor
=====

Try to substitute the third line with
=====
        sLanguage = "vi"
=====

I hope that help.

Thankyou for the suggestions. I'll try what you suggest, and come back with more questions if I get stuck. ;)

from Clytie (vi-VN, Vietnamese free-software translation team / nhóm Việt hóa phần mềm tự do)
http://groups-beta.google.com/group/vi-VN


Attachment: PGP.sig
Description: This is a digitally signed message part

Reply via email to