Ukraine language
-
- Observer
- Posts: 25
- Joined: Sat May 01, 2021 1:09 pm
- Station model: WS-2310 11STWC
- Software: Weather Display
Ukraine language
I ask for help.I need to translate a language file.For training, I used the Polish file pl.php, which works correctly.
In the line "stationData": "Dane Stacji" replaced with "stationData": "ABCD".
After such a change, the site stopped switching to Polish, only to English.
The translation was done using EditPlus.
Please tell me how to correctly translate into another language?
With all respect, Andrey
My site: http://www.dragana.lviv.in/template/indexDesktop.php
In the line "stationData": "Dane Stacji" replaced with "stationData": "ABCD".
After such a change, the site stopped switching to Polish, only to English.
The translation was done using EditPlus.
Please tell me how to correctly translate into another language?
With all respect, Andrey
My site: http://www.dragana.lviv.in/template/indexDesktop.php
-
- Expert
- Posts: 862
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: Ukraine language
What you did is correct, maybe you inadvertently changed something...
Attach your modified language file so we can take a look
Your site seems to switch language correctly ( tough the ukraine language resembles english ; - )
Attach your modified language file so we can take a look
Your site seems to switch language correctly ( tough the ukraine language resembles english ; - )
-
- Observer
- Posts: 25
- Joined: Sat May 01, 2021 1:09 pm
- Station model: WS-2310 11STWC
- Software: Weather Display
Re: Ukraine language
Dear Divadefa! Thanks fo attetion. I ask for help.
I need to translate a language file.
For training, I used the Polish file pl.php, which works correctly.
In the pl.php file, there is a line in two places: "stationData": "Dane Stacji".
In the first line "stationData": "Dane Stacji" replaced with "stationData": "UR5WAC", and in the second line "stationData": "UR5WAC2"
After such a change, the site stopped switching to Polish, and to English.
The translation was done using EditPlus. Please tell me how to correctly translate into
another language? Please send me you e-mail No send .php file
With all respect, Andrew.
--
I need to translate a language file.
For training, I used the Polish file pl.php, which works correctly.
In the pl.php file, there is a line in two places: "stationData": "Dane Stacji".
In the first line "stationData": "Dane Stacji" replaced with "stationData": "UR5WAC", and in the second line "stationData": "UR5WAC2"
After such a change, the site stopped switching to Polish, and to English.
The translation was done using EditPlus. Please tell me how to correctly translate into
another language? Please send me you e-mail No send .php file
With all respect, Andrew.
--
-
- Expert
- Posts: 862
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: Ukraine language
I understand what you want to do and what you did ( and that you used EditPlus ).
I'm not sure how you did it ( so I asked you to upload the file you modified ).
- I'm using notepad++ ( which shows the file is encoded UTF-8 without bom, do not change encoding )
- modified the "stationData":"UR5WAC" ( see attached file )
and it seems to work for me
NOTE
I find only one stationData string
I'm not sure how you did it ( so I asked you to upload the file you modified ).
- I'm using notepad++ ( which shows the file is encoded UTF-8 without bom, do not change encoding )
- modified the "stationData":"UR5WAC" ( see attached file )
and it seems to work for me
NOTE
I find only one stationData string
- Attachments
-
- pl.zip
- (17.99 KiB) Downloaded 184 times
-
- Observer
- Posts: 25
- Joined: Sat May 01, 2021 1:09 pm
- Station model: WS-2310 11STWC
- Software: Weather Display
Re: Ukraine language
Thans you, please my file pl-1.rar(ur5wac).
- Attachments
-
- pl-1.rar
- (21.85 KiB) Downloaded 193 times
-
- Expert
- Posts: 862
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: Ukraine language
Mine pl.php is completely different from your ( so I can't compare them ), please attach also your original pl.php ( with no modifications )
-
- Observer
- Posts: 25
- Joined: Sat May 01, 2021 1:09 pm
- Station model: WS-2310 11STWC
- Software: Weather Display
Re: Ukraine language
Please, original pl.php file
- Attachments
-
- PL.rar
- (21.67 KiB) Downloaded 209 times
-
- Expert
- Posts: 862
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: Ukraine language
As I said you are doing right, but the editor you used messed with the file encoding ( or something like that ) during your editing ( see attached image ), after removing the 'garbled' text your file is ok.
So repeat your editing from the beginning ( keeping encoding as utf-8 without bom ).
NOTE
For non ascii files I generally use notepad++
So repeat your editing from the beginning ( keeping encoding as utf-8 without bom ).
NOTE
For non ascii files I generally use notepad++
-
- Observer
- Posts: 25
- Joined: Sat May 01, 2021 1:09 pm
- Station model: WS-2310 11STWC
- Software: Weather Display
Re: Ukraine language
Many thanks to you Davidefa !!! You helped a lot and understood what we are doing. My friend UR5WAC helps me with translation into Ukrainian. My callsign is US5WAC. We will still contact you with questions. Thanks for the competent consultation. 73!
- Attachments
-
- мова ur5wac.png (284.01 KiB) Viewed 3953 times
-
- Observer
- Posts: 25
- Joined: Sat May 01, 2021 1:09 pm
- Station model: WS-2310 11STWC
- Software: Weather Display
Re: Ukraine language
Dear David! My friend, a radio amateur, made a translation into Ukrainian. The file does not work on the site. Check errors and fix them. Send the corrected file. If the translation works, then you can put it into the template via Jachym.
- Attachments
-
- ua.rar
- (29.39 KiB) Downloaded 386 times
-
- Expert
- Posts: 862
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: Ukraine language
Here the file corrected ( a few 'imperfections' : quotes not correctly closed, missing semicolons and incorrect escaping )
- Attachments
-
- ua_1.0.zip
- (28.41 KiB) Downloaded 384 times