[ZBX-3339] Translatability of Web check in frontend is very bad. Created: 2010 Dec 24  Updated: 2017 May 30  Resolved: 2013 Mar 12

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 1.8.4, 1.9.1 (alpha)
Fix Version/s: 2.1.0

Type: Incident report Priority: Major
Reporter: Oleksii Zagorskyi Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: localization
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

after merge ZBX-2647. branch 1.8, trunk


Attachments: PNG File web_check_Ukr-GUI.png    

 Description   

Follow up from ZBX-2647

Suppose that the text for the legend in Web check have been translated and are available in the Ukrainian locale.
For the 1.8 branch - if i open Web scenario and press Save button, then in "green" Detail section i see that several items are updated.
If my GUI in Ukrainian mode then the Description of all items are updated in DB with Ukrainian text. If the GUI in English mode - with English text respectively.

newly created scenario from branche 1.8:
mysql> SELECT `description` FROM `items` WHERE `type` = 9;
-----------------------------------------------------------------------------------------------

description

-----------------------------------------------------------------------------------------------

Download speed for scenario '$1'
Failed step of scenario '$1'
????????? ???????????? ??? ????? "$2" ?? ???????? "$1"
??? ????????? ??? ????? "$2" ?? ???????? "$1"
??? ????????? ??? ????? "$2" ?? ???????? "$1"

-----------------------------------------------------------------------------------------------
5 rows in set (0.01 sec)

For the trunk this is not happened. After press Save button i see only "green" 'Scenario updated' message without any Detail.
For trunk it works only for newly created steps - see picture 'web_check_Ukr-GUI.png'.

You can test all of this with fresh Ukrainian localization files after an ZBX-3338 will be merged.

All of this looks very illogical.
The main thing of my requirement - Localization should not be tied to the database data!

I've registered issue for the two branches because the problem is present in both.
I understand that to fix this you need to pretty much remake the code. Therefore, probably will make sense to fulfil it just for trunk branche.
At your discretion.

p.s. I almost went crazy until I realized what the cause of the problem



 Comments   
Comment by richlv [ 2011 Jan 28 ]

probably would be implemented as part of ZBXNEXT-567

Comment by Oleksii Zagorskyi [ 2012 Nov 28 ]

I feel that this forum thread is related (in Russian) http://www.zabbix.com/forum/showthread.php?p=122485

Comment by Andrei Gushchin (Inactive) [ 2013 Mar 12 ]

I've rechecked this problem.
Reproduce in versions 1.8.16 and 2.0.5, but in trunk all good.

zalex_ua Yes, it's correct!
It is still actual for 1.8 and 2.0 branches. Note that it's very easy to fix it - just make those strings as not translatable.
Is not actual for trunk(2.2) - it has been changed according to ZBXNEXT-20 in trunk rev 31534.

Comment by Oleg Egorov (Inactive) [ 2013 Mar 12 ]

Isn't going to be fixed in 2.0 and 1.8

Comment by Oleg Egorov (Inactive) [ 2013 Mar 12 ]

CLOSED

Comment by Oleksii Zagorskyi [ 2013 Mar 12 ]

I don't know ... I've spent a lot of time almost 3 years ago ... I'm asking myself - why?
This is a really bug ... but we ignore it
Then why need to create bug reports ?

Please consider to fix it at least in 2.0 branch.
Sorry, reopened.

Comment by Oleksii Zagorskyi [ 2013 Mar 12 ]

heh, I'm closing it

Generated at Wed Apr 02 18:20:53 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.