[ZBX-3828] Turkish translation file for 1.9.4 Created: 2011 May 20 Updated: 2017 May 30 Resolved: 2011 Jun 01 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | None |
Affects Version/s: | 1.9.4 (alpha) |
Fix Version/s: | 1.9.5 (alpha) |
Type: | Incident report | Priority: | Minor |
Reporter: | Murat Koç | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Σ Remaining Estimate: | Not Specified | Remaining Estimate: | Not Specified |
Σ Time Spent: | Not Specified | Time Spent: | Not Specified |
Σ Original Estimate: | Not Specified | Original Estimate: | Not Specified |
Attachments: | frontend.po | ||||||||||
Sub-Tasks: |
|
Description |
Hi, This is the Turkish translation po file, I have completed just %25 of it but at least main screens are translated I think can finish and test in a week completely. Thanks, |
Comments |
Comment by richlv [ 2011 May 20 ] |
thanks. in this file plural forms is set as "nplurals=2; plural=(n != 1)", but http://translate.sourceforge.net/wiki/l10n/pluralforms recommends "nplurals=2; plural=(n>1)" - usually translatewiki is correct, so should we use that form ? |
Comment by richlv [ 2011 May 20 ] |
committed in rev 19768 with plural string from translatewiki & other minor improvements - please let us know if something's not right for further improvements you might also consider pootle installation at https://www.zabbix.org/pootle/ (where turkish will appear soon ) |
Comment by Murat Koç [ 2011 May 20 ] |
Thanks for inclusion, for the plural forms I trusted lokalize's settings but changed it to translatewiki suggestion, and I'll check pottle immediately |
Comment by richlv [ 2011 May 20 ] |
added to pootle at https://www.zabbix.org/pootle/tr/Zabbix-2.0/ |
Comment by Murat Koç [ 2011 May 23 ] |
Hi, I have completed %50 of the translation, should I wait for pootle answer or reopen and attach the new file? |
Comment by richlv [ 2011 May 23 ] |
you should have full permissions on turkish language now - also note that any further questions about translating are welcome in #zabbix on freenode |
Comment by Murat Koç [ 2011 May 23 ] |
Yes, I have, thanks But when I upload the file Server Error An error has occurred. Thank you for your patience. little chmod issue I think, will use freenode for trivial questions like that from now on |
Comment by richlv [ 2011 May 23 ] |
ah. thanks for reporting - that should be fixed now as well |
Comment by Murat Koç [ 2011 May 24 ] |
There is major problem out there You have added 'tr_TR'=> _('Turkish (TR)'), line to the include/locales.inc.php file but this breaks any user settings in the frontend! Administration--> Users and click on any user you'll get Fatal error: Call to undefined method CComboBox::addItem() in /var/www/include/forms.inc.php on line 379 but you get this error only if you enable Turkish line, comment the Turkish line and everything backs normal |
Comment by Murat Koç [ 2011 May 25 ] |
Hi, I have completed %96 of the translation and it seems that this makes the Turkish is the most transltaed language for Zabbix 2.0 Please pull it from pootle. BTW, problem remains which I described above and effects all the users. |
Comment by richlv [ 2011 May 31 ] |
sorry for the delay - wanted to add turkish to the language stats before updating it. both things have been done now. stats for turkish should appear soon at https://zabbix.org/zabbix/screens.php?form_refresh=1&fullscreen=0&elementid=4&period=15778463 the problem is indeed still there - will try to look into it later. btw, zalex trumped your massive contribution - 82 untranslated messages for turkish, 79 untranslated messages for ukrainian |
Comment by Oleksii Zagorskyi [ 2011 Jun 01 ] |
bah, Richlv ahead of me Now even better http://www.zabbix.org/pootle/projects/Zabbix-2.0/ |
Comment by richlv [ 2011 Jun 01 ] |
as zabbix developer konstantin discovered, this seems to be a php bug : http://bugs.php.net/bug.php?id=35050 |
Comment by Murat Koç [ 2011 Jun 01 ] |
ahaha congratulations Oleksiy richlv, I should have remember the famous Turkish capitalization problem, sorry I have talked to the Turkish php experts about this and they said there is no solution for that right know and it seems that the only solution is changing the function names But I don't know if this is acceptable. I looked the source and there are lots of function names includes I. I can make the Turkish can be selected by adding if($loc_id == tr_TR && $locale_exists == yes ) before $cmbLang->addItem($loc_id, $loc_name, $selected, $locale_exists); but this time main screen blows with Fatal error: Call to undefined function zbx_formatDomId() in /var/www/include/classes/class.cdiv.php on line 26 zbx_formatDomId funny Let me discuss it with Turkish php experts again to find a solution, I haven't got any solutions except either changing function names or add setlocale(LC_ALL,"en_US.utf-8"); to any php file which includes I in the function name. If you have any idea I'll be happy to hear it. |
Comment by richlv [ 2011 Jun 01 ] |
let's discuss locale issue in the subtask |
Comment by richlv [ 2012 Sep 07 ] |
yay, the php bug is supposedly fixed (although it might take some time to trickle down to distributions ) |