Re: REST integration: specifying user language

2020-12-25 Thread Maxim Solodovnik
On Fri, 25 Dec 2020 at 03:37, Robert Savickas wrote: > Dear Daniel, > > Actually, my language (Lithuanian) was not included in the distribution; > so, about 6 weeks ago, I undertook the task of translating the entire OM > interface and created the language file to use in OM and added this file to

Re: REST integration: specifying user language

2020-12-25 Thread Daniel Baker
Maybe you can  add your  Lithuanian  translation here : https://poeditor.com/join/project/6UF8Mhql61 Thanks, Dan On 24-Dec-20 9:45 PM, Robert Savickas wrote: Seb, Thank you very much. That worked superbly! All is good now. Thank you all for the REST API. It makes things very smooth for

Re: REST integration: specifying user language

2020-12-24 Thread Robert Savickas
Seb, Thank you very much. That worked superbly! All is good now. Thank you all for the REST API. It makes things very smooth for the users. Robert On Thu, Dec 24, 2020, 16:30 seba.wag...@gmail.com wrote: > The language Id is simply a parameter in the query string when entering > the room. Yo

Re: REST integration: specifying user language

2020-12-24 Thread seba.wag...@gmail.com
The language Id is simply a parameter in the query string when entering the room. You don't need to set the language parameter in any of the rest calls. $url = $this->url_server."/openmeetings/hash?secure=".$hash."&language=".$language; While $hash is the hash you created via rest calls. And $lan

Re: REST integration: specifying user language

2020-12-24 Thread Robert Savickas
Dear Daniel, Actually, my language (Lithuanian) was not included in the distribution; so, about 6 weeks ago, I undertook the task of translating the entire OM interface and created the language file to use in OM and added this file to the directory that contains all other languages. It works very

Re: REST integration: specifying user language

2020-12-24 Thread Daniel Baker
The  full list  of  languages  is  here : https://github.com/apache/openmeetings/blob/ad9013588d43996282ee568a89a46a689d8916d9/openmeetings-web/src/main/webapp/languages/languages.xml#L21 On 24-Dec-20 8:02 PM, Robert Savickas wrote: Dear Maxim and friends, Please forgive me for sending this q

Re: REST integration: specifying user language

2020-12-24 Thread Daniel Baker
Did you try  specifying an  integer: 1  is English 2  is German. etc https://192.168.1.55:5443/openmeetings/hash?&secure=8c46b082-7f4a-485d-b6b0-5fffb5dd90a4*&language=1 * On 24-Dec-20 8:02 PM, Robert Savickas wrote: Dear Maxim and friends, Please forgive me for sending this question the

REST integration: specifying user language

2020-12-24 Thread Robert Savickas
Dear Maxim and friends, Please forgive me for sending this question the second time, but I reckoned it to be more appropriate to send it under a different subject line, rather than continuing the previous thread. This is just to update you: your REST integration is a beautiful thing. I was able