Author Topic: How to import my language to eBox?  (Read 1513 times)

akong

  • Zen Apprentice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
How to import my language to eBox?
« on: December 09, 2008, 07:03:51 am »
Hello,
I have translate eBox eng to chinese(taiwan)
But I want test.
How to import to eBox?
http://translate.ebox-platform.com/zh_TW/ebox/
This is my language translate page
Thanks a lot.

sixstone

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1417
  • Karma: +26/-0
    • View Profile
    • Sixstone's blog
Re: How to import my language to eBox?
« Reply #1 on: December 09, 2008, 06:30:02 pm »
The easier way is to wait for next eBox release.

However, you may download the subversion trunk branch with latest zh_TW.po files and compile them to .mo files and install them in /usr/share/locale/zh_TW/LC_MESSAGES. Or build the packages and install them in your testing eBox.

Don't forget to update Gettext.pm from http://trac.ebox-platform.com/browser/trunk/common/libebox/src/EBox/Gettext.pm?format=txt to /usr/share/perl5/EBox/Gettext.pm to include your language.

Thanks very much for your translation efforts!
« Last Edit: December 09, 2008, 06:31:43 pm by sixstone »
My secret is my silence...

akong

  • Zen Apprentice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: How to import my language to eBox?
« Reply #2 on: December 10, 2008, 08:08:51 am »
Hello,
I have add chinese(Taiwan) language on eBox.
All .mo file put on /usr/share/locale/zh_TW/LC_MESSAGES/
And all rename to ebox-(function name).mo and ebox.mo
Some translate is all ok.
But I have two question.
1.
I have translate "Language selection" to "語言選擇"
But I still see "Language selection"
Why??

2.
Some translate will show unknow codecs.
ex:
"DHCP ranges"
I have translate to "DHCP 範圍"
But I see "DHCP 範�"
I don't know how to fix it.

Please tell me how to fix it.