Help: language issues | GitHub Installation | Forum

Avatar

Please consider registering
Guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
Help: language issues
No permission to create posts
February 1, 2015
10:12 pm
Avatar
fortolano
New Member
Members
Forum Posts: 1
Member Since:
February 1, 2015
sp_UserOfflineSmall Offline

Hi everyone,

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

for
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.
Thank you
Flavio

February 2, 2015
8:40 am
Avatar
lee

Admin
Forum Posts: 457
Member Since:
March 14, 2011
sp_UserOfflineSmall Offline

Hi,

If you change your web browser's language to Portuguese then you should automatically be served the correct file.

lee

September 3, 2015
12:10 am
Avatar
jeovanevs
New Member
Members
Forum Posts: 3
Member Since:
July 3, 2015
sp_UserOfflineSmall Offline

lee said

Hi,

If you change your web browser's language to Portuguese then you should automatically be served the correct file.

lee

Hi,

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?

Thank you,

Jeovane

September 3, 2015
9:25 am
Avatar
akhila

MathWorks
Members
Forum Posts: 21
Member Since:
August 10, 2015
sp_UserOfflineSmall Offline

Hi Jeovanevs,

We currently do not have an updated pt-br.yml file.

Akhila

September 9, 2015
12:38 pm
Avatar
Hans
Natick, MA

Admin
Forum Posts: 411
Member Since:
January 18, 2011
sp_UserOfflineSmall Offline

@Jeovane - do you know if https://thingspeak.com displays correctly when you are set to Portuguese? Thanks.

Forum Timezone: America/New_York

Most Users Ever Online: 166

Currently Online:
21 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 272

Vinod: 240

piajola: 95

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 8665

Moderators: 1

Admins: 2

Forum Stats:

Groups: 3

Forums: 14

Topics: 1600

Posts: 5760

Newest Members:

swatiiot, kalyanigaware16@gmail.com, Romi, Drakan01, majidkhan7, atharvganla

Moderators: cstapels: 460

Administrators: Hans: 405, lee: 457