Author Topic: Translate Zentyal into Simplified Chinese  (Read 1509 times)

yustao

  • Zen Apprentice
  • *
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Translate Zentyal into Simplified Chinese
« on: October 27, 2010, 12:26:00 pm »
Hi All,

I am one native Chinese speaker,and I am trying to translate Zentyal into Simplified Chinese. But I have the following two questions on this:
1. When I got to the Zentyal  core->system->General->Language Selection, and I have not found the Simplified Chinese into that.
2. When I tried to change the language, such as French, Japanese, Zentyal still shows English. Would someone let me know the reason?

Thanks,
Songtao Yu

sixstone

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1417
  • Karma: +26/-0
    • View Profile
    • Sixstone's blog
Re: Translate Zentyal into Simplified Chinese
« Reply #1 on: October 27, 2010, 01:18:28 pm »
Hi Songtao Yu,

I will try to answer your questions:

1. There is no Simplified Chinese  selection since we simply did not have any translated string to that language. Once there is enough strings, the language will be shown in the selector.
2. You must regenerate the locale for these languages. To do so, follow this howto [1]

Best regards,

[2] http://trac.zentyal.org/wiki/Document/HowTo/RegenerateLocale
My secret is my silence...

yustao

  • Zen Apprentice
  • *
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: Translate Zentyal into Simplified Chinese
« Reply #2 on: October 27, 2010, 03:47:16 pm »
Hi Zen,

Thanks for your quick response. I will begin to translate the strings very soon. Would you please let me know how to add the Simplified Chinese in the Zentyal dashboard so that I can run some smoke test during my translation?

Thanks and Best Regards,
Songtao Yu

sixstone

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1417
  • Karma: +26/-0
    • View Profile
    • Sixstone's blog
Re: Translate Zentyal into Simplified Chinese
« Reply #3 on: October 27, 2010, 05:19:55 pm »
Hi Songtao,

You just need to modify the following file /usr/share/perl5/EBox/Gettext.pm in the line 194:
Code: [Select]
$langs->{'zh_CN.UTF-8'} = 'Simplified Chinese';

That should work to start with.

Best regards,
My secret is my silence...