[RDD] Howto set UI Languaje/Translation

2021-08-02 Thread Alejandro olivan Alvarez

Hi list.

This one is probably simple...but I'm failing to see it: how can I 
switch Rivendell UI to, let's say, Spanish?


Although I'm from Spain, I always work with En/Us system/Installs, I'm 
completely used to it ... but how if I would like to have the UI 
environment in, let's say, Spanish (or any other of the available 
translations)?


I don't see an option in RDAdmin at first glance... I'v googled around, 
and I've found an article on the wiki on howto create translations, 
which could be very interesting, but... how to apply/activate on of 
those translations?


Thank you very much.

Best regards.

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Howto set UI Languaje/Translation

2021-08-04 Thread Fred Gleason
On Aug 2, 2021, at 11:30, Alejandro olivan Alvarez 
 wrote:

> This one is probably simple...but I'm failing to see it: how can I switch 
> Rivendell UI to, let's say, Spanish?
> 
> Although I'm from Spain, I always work with En/Us system/Installs, I'm 
> completely used to it ... but how if I would like to have the UI environment 
> in, let's say, Spanish (or any other of the available translations)?
> 
> I don't see an option in RDAdmin at first glance... I'v googled around, and 
> I've found an article on the wiki on howto create translations, which could 
> be very interesting, but... how to apply/activate on of those translations?

For standard production setups, that’s an OS-level setting. The easiest way to 
do it on CentOS 7 to use the ‘system-config-language’ tool. You may need to 
install it; just do (from a root shell):

yum install system-config-language

However, if you’re just hacking Rivendell and don’t want to change the whole 
system over to a different locale, you can do it by setting the ‘LANG’ 
environmental variable to the desired language. For example, to switch to 
Español, you could open a shell (non-root) and do something like:

export LANG=es_ES.UTF-8

Rivendell modules run from that same session will then attempt to use the 
appropriate translation.

While we’re on this subject: the translations currently in Rivendell are 
extremely long in the tooth, with the last updates done way back in the v2.x 
era, so I suspect that coverage for any given language is quite ragged. As we 
converge towards a production v4.x release, we’ll shortly be in a position to 
start soliciting volunteers to update translations. Stay tuned!

Cheers!


|-|
| Frederick F. Gleason, Jr. | Chief Developer |
|   | Paravel Systems |
|-|
| A room without books is like a body without a soul. |
| |
| -- Cicero   |
|-|___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Howto set UI Languaje/Translation

2021-08-05 Thread Alejandro olivan Alvarez

Hi Fred!

On 8/4/21 6:27 PM, Fred Gleason wrote:
On Aug 2, 2021, at 11:30, Alejandro olivan Alvarez 
> wrote:


This one is probably simple...but I'm failing to see it: how can I 
switch Rivendell UI to, let's say, Spanish?


Although I'm from Spain, I always work with En/Us system/Installs, 
I'm completely used to it ... but how if I would like to have the UI 
environment in, let's say, Spanish (or any other of the available 
translations)?


I don't see an option in RDAdmin at first glance... I'v googled 
around, and I've found an article on the wiki on howto create 
translations, which could be very interesting, but... how to 
apply/activate on of those translations?


For standard production setups, that’s an OS-level setting. The 
easiest way to do it on CentOS 7 to use the ‘system-config-language’ 
tool. You may need to install it; just do (from a root shell):


yum install system-config-language

However, if you’re just hacking Rivendell and don’t want to change the 
whole system over to a different locale, you can do it by setting the 
‘LANG’ environmental variable to the desired language. For example, to 
switch to Español, you could open a shell (non-root) and do something 
like:


export LANG=es_ES.UTF-8

Rivendell modules run from that same session will then attempt to use 
the appropriate translation.


Thanks for the feedback... Because I'm very influenced from MS windows 
apps philosophy when it comes to radio automation (I don't use windows 
personally :-) I was expecting the typical UI option... Then, soon after 
mailing, I actually though on just switching the terminal LANG env var 
to whathever, I set to deutsch, launched rdairplay and tada! 
german!... then french, spanish ... so simple, s linux, I love it!


While we’re on this subject: the translations currently in Rivendell 
are extremely long in the tooth, with the last updates done way back 
in the v2.x era, so I suspect that coverage for any given language is 
quite ragged. As we converge towards a production v4.x release, we’ll 
shortly be in a position to start soliciting volunteers to update 
translations. Stay tuned!


I actually read a little on the wiki about making translations ... I 
have to calmly refresh my rusted .po skills, re-read the 
language/translation documentation on rivendell, and evaluate whether I 
could help... I definitely would like very much to help translating to 
Spain-Spanish, Catalan (And eventually I know people that could also 
provide me translation to Euskera)



Cheers!


|-|
| Frederick F. Gleason, Jr. |             Chief Developer         |
|                           |             Paravel Systems         |
|-|
|         A room without books is like a body without a soul.         |
|         |
|                                                         -- Cicero   |
|-|

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Howto set UI Languaje/Translation

2021-08-05 Thread Fred Gleason
On Aug 5, 2021, at 03:43, Alejandro olivan Alvarez 
 wrote:

> I actually read a little on the wiki about making translations ... I have to 
> calmly refresh my rusted .po skills, re-read the language/translation 
> documentation on rivendell, and evaluate whether I could help... I definitely 
> would like very much to help translating to Spain-Spanish, Catalan (And 
> eventually I know people that could also provide me translation to Euskera)

It’s actually quite a bit easier than that. Qt has some very nice utilities 
that make it easy for translators to work without having to be dev experts. For 
an overview of the process, see:

https://doc.qt.io/qt-5/qtlinguist-index.html

Cheers!


|-|
| Frederick F. Gleason, Jr. | Chief Developer |
|   | Paravel Systems |
|-|
| A room without books is like a body without a soul. |
| |
| -- Cicero   |
|-|___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev