My native language is Dutch. Thanks to the ongoing help of https://translate.google.com/ I was able to add the different languages to the PWS_Dashboard. For every language, also for the Dutch language, multiple users want me to improve their language. Problem is, I can not do that as I do not know the subtle differences they ask me to implement. Therefor this sticky topic.
[ul]
[li]Post your updated language file in this topic. In this first message I will maintain a list of all postings sorted by language / date.[/li][li]Also mention in your post if this is a one time post only, or if you will maintain the file for future releases a.s.o.
In that case other users can sent you their updates to include for “your” languag-file, lessen the number of files for one language[/li][li]
For those who created an additional language file, please post that file also. I will add the extra code to the scripts a.s.a.p. [/li][/ul]
This will really help to improve the quality of the translations.
Wim
====
To use a new language, you need to update the _my_settings/language.txt file as attached to this post.
As the list of languages will grow over time, prune the list and remove all not-needed or duplicate languages.
I put the French translations not done at the bottom of the file
after
added release RADAR & other
and some modifications on GOOGLE translation
Ex:
| Feels like | Ressenti|
DON’T HESITATE TO TELL ME IF YOU ARE CONCERNED WITH OTHER APIs
Here is the file with a new PT-PT translation, and also a png PT flag.
Special care has been taken for the translation phrases not to exceed available space, and so far, I can’t find any missing translation words
I will update this file in the future, whenever needed.
Hi
Here is my humble attempt to make polish translation.
After a few emails with Wim we also no that to have properly displayed “polish” characters there is some other change needed:
Line 233 of wxsimPP/plaintext-parser.php needs this little ‘pl’ so that UTF-8 coding is used
$UTFLang = ',pl,gr,ru,cn,jp,he,ct,da,dk,de,el,es,fi,fr,it, nl,nn,no,sv,se, '; // languages needing UTF-8 character set for display
I improved the Polish translation a bit and complemented with missing fragments, those that I could see to change. I hope that thanks to this PWS Dashboard will become more popular among Polish users.
I couldn’t change an original text of meteoalarm.eu warnings on main page under the time. Is it also possible to print translated text?
I couldn’t change an original text of meteoalarm.eu warnings on main page under the time.
Yes you can.
The last part of the script wrnWarningEU.php is used for a new language. Lines 965-1003
They now have English texts, you translate them and you can test them for a few weeks.
Then I will add your translations for the Polish language to the script.
Is it also possible to print translated text?
I do not understand the question.
You can print any file. Open it in a browser and then you can print it. http://mark014.beep.pl/template/plugins/pwsWD/languages/lang_pl.txt
Or use your FTP program an open it with a program-editor and you can print it.
Wim
You did not post your new version.
Maybe you could discuss it with the other Polish user who posted the file June, 6
Sorry, I attach the translation file. I also sent the author of the first translation. He does not have some sensors, so he did not translate all the words.
The last part of the script wrnWarningEU.php is used for a new language.
Thanks for advice. Thus the translation should be in a different file. Translated. I have to wait now for more turbulent weather to see the results
Hello @pwsdashboard and all,
In addition to the colleague @meteocaldas PT-PT translation, attached you will find a pt-br translation, and a flag as well.
You can see an example of use at: https://www.w4aviation.com/pwsSDAM/
I can update the file in the future, as needed.
Thanks.
Rodrigo
updated Italian language with all missing recent updates and corrections
updated wrnWarningEU.php with italian lang. strings
flag png
Hope it helps other italian users of the template.
PS: there’s an error in the main template (I used the NL file) - “Extra block” should be “Extra block large”. I wasn’t able to modify the title of that block, and I found the issue.
Please find attached the French language files for the scripts:
WeatherUnderground .CSV
File to replace in the DIR:
wuhistory
and
wureports/wuLang
Wim wrote a script to update those data arrays as they are used by all WU scripts used in the dashboard
All information is found here=> WU data arrays Update Script ** Closed **