February 1, 2015
I need some help with the language files in the config/locales folder.
I got my ThingSpeak installed just fine and everything looks good.
But I've been trying to switch the application language from English to Portuguese without success.
In the folder config/locales there are 2 files: the en.yml and pt-br.yml files (the english and portuguese language files).
So my first attempt was to update the application.rb file and replace the following:
config.i18n.default_locale = :en
config.i18n.default_locale = :pt-br
But that din't work and I still got everything in English.
Then, I simply reverted my change above and then renamed the file pt-br.yml to en.yml
But again, nothing... the ThingSpeak application doesnt seem to pick up the new language file.
Any ideas or suggestions? I'd appreciate your guidance.
March 14, 2011
July 3, 2015
If you change your web browser's language to Portuguese then you should automatically be served the correct file.
There are many errors in the Portuguese translation file, so the server page cannot be displayed correctly. The fields in the English translation is different from those in Portuguese one.
My solution was to compare the both files on Notepad++ and add the fields manually.
Do you have any recent pt-br.yml file to update at the github?
August 10, 2015
January 18, 2011
@Jeovane - do you know if https://thingspeak.com displays correctly when you are set to Portuguese? Thanks.
Most Users Ever Online: 166
Currently Browsing this Page:
Guest Posters: 1
Newest Members:swatiiot, firstname.lastname@example.org, Romi, Drakan01, majidkhan7, atharvganla
Moderators: cstapels: 460
Administrators: Hans: 405, lee: 457