[ZBX-10651] zabbix 3.0 and trunk Chinese translation I have completed 90% Please use the next time version update. Created: 2016 Apr 12  Updated: 2017 May 30  Resolved: 2016 Apr 22

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: None
Fix Version/s: 3.0.3rc1

Type: Problem report Priority: Minor
Reporter: Wesley Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

zabbix 3.0 and trunk for Simplified Chinese translation I have completed 90% Please use the next time version update. And Open
Thanks
https://www.zabbix.org/pootle/zh_CN/Zabbix-trunk/
https://www.zabbix.org/pootle/zh_CN/Zabbix-3.0/



 Comments   
Comment by Oleksii Zagorskyi [ 2016 Apr 12 ]

Hi !

Thank you for your efforts to translate zabbix to Chinese language!
I personally watch on your translation progress and waiting when it will be complete

I'd be very happy to enable your language to be visible, but here http://zabbix.org/wiki/Translating_Zabbix we have a rule that, quote:

A translation is added to the dropdown when it reaches 100% completion.

Yeah, the rule may be considered as not very user friendly, but if it would be violated, we would get many languages which would be not fully translated.
That's why the rule does exist.

Note that your translations are actually synced to zabbix sources (periodically), the language is just hidden from dropdown.

Maybe it's not so hard to spend a bit of time and complete the 3.0 translation to 100% ?

Comment by Oleksii Zagorskyi [ 2016 Apr 20 ]

Jack, wow, nice to see that only 3 strings left to translate in trunk !
http://zabbix.org/pootle/zh_CN/Zabbix-trunk/

If take the trunk po file and regenerate it on current 3.0 - you will have 10 strings untranslated.
Jack, will it be ok for you if I'll take current trunk, regenerate 3.0 based on it and you will finish those 10 strings in 3.0 in Pootle ?
Let me know please.
I think I can already enable Chinese translation in zabbix sources (hoping that you will finish those 10 strings soon) so it will be visible to all in next release 3.0.3.

p.s. I remember that you upload po files to other versions yourself.
I can do that too, plus I can regenerate strings in Pootle too and sync changes to svn.

Comment by Wesley [ 2016 Apr 22 ]

update 100% for trunk demo~

Comment by Oleksii Zagorskyi [ 2016 Apr 22 ]

There were 2 critical mistakes which I've fixed myself:

zh_CN/LC_MESSAGES/frontend.po   
zh_CN/LC_MESSAGES/frontend.po:15194: 'msgstr' is not a valid C format string, unlike 'msgid'. Reason: The character that terminates the directive number 2 is not a valid conversion specifier.
zh_CN/LC_MESSAGES/frontend.po:15200: 'msgstr' is not a valid C format string, unlike 'msgid'. Reason: The character that terminates the directive number 2 is not a valid conversion specifier.
msgfmt: found 2 fatal errors
3266 translated messages, 1 untranslated message.
#: include/classes/api/services/CMap.php:549
#: include/classes/api/services/CMap.php:969
#, c-format
msgid "User group sharing is missing parameters: %1$s for map \"%2$s\"."
msgstr "拓扑图 \"%2$s\" 用户组共享找不到参数 %1$ 。"

#: include/classes/api/services/CScreen.php:610
#: include/classes/api/services/CScreen.php:948
#, c-format
msgid "User group sharing is missing parameters: %1$s for screen \"%2$s\"."
msgstr "聚合图形 \"%2$s\" 用户组共享找不到参数 %1$ 。"

Please review them here:
http://zabbix.org/pootle/zh_CN/Zabbix-3.0/translate/LC_MESSAGES/frontend.po#unit=629924
http://zabbix.org/pootle/zh_CN/Zabbix-3.0/translate/LC_MESSAGES/frontend.po#unit=629925

Translate please one new untranslated: http://zabbix.org/pootle/zh_CN/Zabbix-3.0/translate/LC_MESSAGES/frontend.po#unit=672964

Also, I recommend to do this thing:
go to http://zabbix.org/pootle/zh_CN/Zabbix-3.0/ and click to "expand details" then by clicking to each filter in "Failing Checks" section, check all filtered strings.
There are also false positives, I recommend to approve them to exclude from the filter.

In many cases it helps to find minor mistakes or a bit wrong formatting etc.

I'll wait when you will finish this task.
Please, from now, work with 3.0 branch only!
Do not spend your time on trunk branch for now.

Comment by Oleksii Zagorskyi [ 2016 Apr 22 ]

Jack, pay special attention please to filter with "printf" checks. Looks like that for some strings plural and singular forms were merged together at some stage.
Here is direct link to see that http://zabbix.org/pootle/zh_CN/Zabbix-3.0/translate/#filter=checks&checks=printf

I'm waiting your fixes ...

Comment by Wesley [ 2016 Apr 22 ]

ok~ Please wait

Comment by Wesley [ 2016 Apr 22 ]

hi Oleksiy Zagorskyi ~
please check

Comment by Wesley [ 2016 Apr 22 ]

[backuprootuser@feecenter10-8-18-33 locale]$ ./make_mo.sh frontend.po
[backuprootuser@feecenter10-8-18-33 locale]$ ls
bg de fa fi frontend.mo frontend.po ja make_mo.sh pt_BR sv uk update_po.sh
[backuprootuser@feecenter10-8-18-33 locale]$

Please download the latest file
not error~

Comment by Oleksii Zagorskyi [ 2016 Apr 22 ]

Thanks, will do that soon.

Comment by Oleksii Zagorskyi [ 2016 Apr 22 ]

All changes have been done!
I've also synced recent fixes in 3.0 to trunk.

Chinese (China) translation is enabled to be displayed in list of available languages in 3.0 and trunk.
Updated:
https://www.zabbix.com/documentation/3.0/manual/introduction/whatsnew303
http://zabbix.org/wiki/Translating_Zabbix

Comment by Oleksii Zagorskyi [ 2016 Apr 22 ]

Jack, I'd still suggest you to go to http://zabbix.org/pootle/zh_CN/Zabbix-3.0/ and click to "expand details" then by clicking to each filter in "Failing Checks" section, check all filtered strings.
There are also false positives, I recommend to approve them to exclude from the filter.
In many cases it helps to find minor mistakes or a bit wrong formatting etc.

Make also sure please that you have subscribed to the translators mail list - it's useful for translators to be notified for changes, new strings etc.

Comment by Oleksii Zagorskyi [ 2016 Apr 22 ]

I'm closing this resolved issue.

Generated at Tue Apr 16 12:53:20 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.