Page 1 of 1
Change 'collapse all' and 'expand all' labels language
Posted: Thu Jun 26, 2014 7:21 am
by infgge00
Hi! I have set pui["language"] = "es_ES" (Spanish of Spain), and this labels are shown in Portuguese language. This maybe is a translation error.
How can I set this labels in Spanish? Thanks
Re: Change 'collapse all' and 'expand all' labels language
Posted: Thu Jun 26, 2014 10:51 am
by Scott Klement
It looks like you're setting it correctly. It's very strange that you'd get Portuguese!
Can you give me an example of a label value that you're getting that's wrong. Let me know what it's showing you and what word would be better, and I'll look to see if our translation dictionary is using the wrong words, or if it's really somehow pulling the Portuguese words.
Re: Change 'collapse all' and 'expand all' labels language
Posted: Fri Jun 27, 2014 8:18 am
by infgge00
Label 'collapse all' should be 'contraer todo' in Spanish. Now It shows 'recoger tudo'. I don´t know if it´s really Portoguese, but It sounds like this.
Label 'expand all' should be 'expandir todo'. Now it shows 'espandir tudo'.
It is an stupid thing, I know, but we have some customers that ... They are 'special' You know? ;)
Thanks so much
Re: Change 'collapse all' and 'expand all' labels language
Posted: Mon Jun 30, 2014 10:07 am
by Scott Klement
Those are not quite the same as the Portuguese translations. It looks like you have found some bad translations in our es_ES support. I do not speak Spanish, and so I did not know that these were incorrect -- I had to trust the guy who sent us the Spanish translations, and it looks like there were some errors in his Spanish.
I will correct them for the next release of Profound UI. In the meantime, you can change the translations on your installation by creating a JavaScript file to customize the messages, as described here:
http://www.profoundlogic.com/docs/displ ... ge+Support
Let me know if you have any problems.
Re: Change 'collapse all' and 'expand all' labels language
Posted: Tue Jul 01, 2014 8:41 am
by infgge00
Ok! I have the javascript settings file with Spanish translation, but In the documentation don´t exists any tag with 'collapse all' and 'expand all' text. I´ve tried with this:
pui["runtimeText"]["es_ES"]["collapse all"]
but profoundui didn´t recognize it. The same case with "expand all".
Don´t worry, I can wait for next release. Thanks so much
Re: Change 'collapse all' and 'expand all' labels language
Posted: Tue Jul 01, 2014 9:13 am
by Scott Klement
Your code should look like this:
Code: Select all
pui["runtimeText"]["es_ES"]["collapseAll"] = "Contraer todo";
pui["runtimeText"]["es_ES"]["expandAll"] = "Expandir todo";