Re: Changing LyX into a different language

2007-02-24 Thread Jean-Marc Lasgouttes
 Ran == Ran Reutenberg [EMAIL PROTECTED] writes:

Ran Oops, - it seems I forgot to to the make install - I ran LyX
Ran from the src directory. 

I knew there was something :)

Ran Now I did the make install and everything is fine - thanks for
Ran your assistance.

Well, it is our interest to make sure that you can produce a
translation, after all...

JMarc



Re: Changing LyX into a different language

2007-02-24 Thread Jean-Marc Lasgouttes
 Ran == Ran Reutenberg [EMAIL PROTECTED] writes:

Ran Oops, - it seems I forgot to to the make install - I ran LyX
Ran from the src directory. 

I knew there was something :)

Ran Now I did the make install and everything is fine - thanks for
Ran your assistance.

Well, it is our interest to make sure that you can produce a
translation, after all...

JMarc



Re: Changing LyX into a different language

2007-02-24 Thread Jean-Marc Lasgouttes
> "Ran" == Ran Reutenberg <[EMAIL PROTECTED]> writes:

Ran> Oops, - it seems I forgot to to the "make install" - I ran LyX
Ran> from the src directory. 

I knew there was something :)

Ran> Now I did the make install and everything is fine - thanks for
Ran> your assistance.

Well, it is our interest to make sure that you can produce a
translation, after all...

JMarc



Re: Changing LyX into a different language

2007-02-23 Thread Ran Rutenberg

On 2/23/07, Jean-Marc Lasgouttes [EMAIL PROTECTED] wrote:


Jean-Marc Try to add he to the po/LINGUAS file. This contains the
Jean-Marc list of languages that are actually supported.


he exists in th LINGUAS file and nevertheless it still doesn't work.
As I mentioned I tried other languages as well (in order to check
maybe it is just something faulty with the he.po file) but none of
them work although they appear in the LINGUAS file and worked with the
installed LyX 1.4


Re: Changing LyX into a different language

2007-02-23 Thread Jean-Marc Lasgouttes
 Ran == Ran Rutenberg [EMAIL PROTECTED] writes:

Ran he exists in th LINGUAS file and nevertheless it still doesn't
Ran work. As I mentioned I tried other languages as well (in order to
Ran check maybe it is just something faulty with the he.po file) but
Ran none of them work although they appear in the LINGUAS file and
Ran worked with the installed LyX 1.4

OK, I misread your message then. What OS are you using currently? Did
you try setting the language with a complete locale name, like
he_IL.UTF-8? 

JMarc


Re: Changing LyX into a different language

2007-02-23 Thread Ran Rutenberg

On 2/23/07, Jean-Marc Lasgouttes [EMAIL PROTECTED] wrote:


OK, I misread your message then. What OS are you using currently? Did
you try setting the language with a complete locale name, like
he_IL.UTF-8?


I am currently running Gentoo Linux. I tried setting the language with
a complete locale name he_IL.UTF-8 but it didn't work either (nor
did any other languages).

Ran Rutenberg


Re: Changing LyX into a different language

2007-02-23 Thread Helge Hafting

Ran Rutenberg wrote:

Dear Users,

I would like to change the language of lyx's interface from English to
Hebrew (I need to check a new he.po) in  LyX1.5 that I compiled.
However when I use the LANG or the LC_MESSAGES variable the only
result is a change in the language of the help files. I tried to
launch LyX in other languages beside Hebrew but it didn't work either.

I would like to mention that when I try the same thing with an
installed LyX 1.4 I can change LyX's language to German for example
but I can't change it to Hebrew.

Does anyone knows how to solve this?

Assuming you use linux - is your linux set up to support the hebrew locale?
My linux is set up for nrwegian and english only.  So those works, but
if I try
export LANG=de_DE ; lyx
then I get english menus and german help files.  This because
I haven't installed german locale support for my distro (debian),
and so Locale de_DE could not be set.

Looks like it doesn't matter if lyx comes with support for some language,
if the distro (c-library?) itself does not allow that language to be set.

With debian, use
dpkg-reconfigure locales
Other distros have similiar ways of setting up language support.


Helge Hafting


Re: Changing LyX into a different language

2007-02-23 Thread Jean-Marc Lasgouttes
 Ran == Ran Rutenberg [EMAIL PROTECTED] writes:

Ran On 2/23/07, Jean-Marc Lasgouttes [EMAIL PROTECTED] wrote:
 OK, I misread your message then. What OS are you using currently?
 Did you try setting the language with a complete locale name, like
 he_IL.UTF-8?

Ran I am currently running Gentoo Linux. I tried setting the language
Ran with a complete locale name he_IL.UTF-8 but it didn't work
Ran either (nor did any other languages).

Does it work for any program other than LyX?

JMarc


Re: Changing LyX into a different language

2007-02-23 Thread Ran Rutenberg

On 2/23/07, Helge Hafting [EMAIL PROTECTED] wrote:


Looks like it doesn't matter if lyx comes with support for some language,
if the distro (c-library?) itself does not allow that language to be set.


On 2/23/07, Jean-Marc Lasgouttes [EMAIL PROTECTED] wrote:


Does it work for any program other than LyX?


I check and in poEdit I can use the LANG setting to switch the
language into Hebrew or any other language I want so it can't be a
problem with my Linux locale - it has to be something else.

Sincerely,

Ran Rutenberg


Re: Changing LyX into a different language

2007-02-23 Thread Abdelrazak Younes

Ran Rutenberg wrote:
On 2/23/07, Helge Hafting 
[EMAIL PROTECTED] wrote:



Looks like it doesn't matter if lyx comes with support for some language,
if the distro (c-library?) itself does not allow that language to be set.


On 2/23/07, Jean-Marc Lasgouttes 
[EMAIL PROTECTED] wrote:



Does it work for any program other than LyX?


I check and in poEdit I can use the LANG setting to switch the
language into Hebrew or any other language I want so it can't be a
problem with my Linux locale - it has to be something else.


Check if LC_ALL or LC_MESSAGES are set. LyX extract the language 
definition in this order:


LC_ALL
LC_MESSAGES
LANG

As you see LANG is the third choice and is used only if the other two 
are not set. Maybe poEdit only check LANG, dunno.


Please correct me if I am wrong JMarc,
Abdel.



Re: Changing LyX into a different language

2007-02-23 Thread Jean-Marc Lasgouttes
 Ran == Ran Rutenberg [EMAIL PROTECTED] writes:

Ran I check and in poEdit I can use the LANG setting to switch the
Ran language into Hebrew or any other language I want so it can't be
Ran a problem with my Linux locale - it has to be something else.

That is very strange. You did install LyX 1.5, right? 

JMarc


Re: Changing LyX into a different language

2007-02-23 Thread Jean-Marc Lasgouttes
 Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes:

Abdelrazak LC_ALL LC_MESSAGES LANG

Abdelrazak As you see LANG is the third choice and is used only if
Abdelrazak the other two are not set. Maybe poEdit only check LANG,
Abdelrazak dunno.

Assuming poEdit uses gettext, there should not be any difference in
the algorithm.

JMarc


Re: Changing LyX into a different language

2007-02-23 Thread Ran Rutenberg

On 2/23/07, Jean-Marc Lasgouttes [EMAIL PROTECTED] wrote:


That is very strange. You did install LyX 1.5, right?


Oops, - it seems I forgot to to the make install - I ran LyX from
the src directory.
Now I did the make install and everything is fine - thanks for your assistance.

Sincerely,
Ran Rutenberg


Re: Changing LyX into a different language

2007-02-23 Thread Ran Rutenberg

On 2/23/07, Jean-Marc Lasgouttes [EMAIL PROTECTED] wrote:


Jean-Marc Try to add he to the po/LINGUAS file. This contains the
Jean-Marc list of languages that are actually supported.


he exists in th LINGUAS file and nevertheless it still doesn't work.
As I mentioned I tried other languages as well (in order to check
maybe it is just something faulty with the he.po file) but none of
them work although they appear in the LINGUAS file and worked with the
installed LyX 1.4


Re: Changing LyX into a different language

2007-02-23 Thread Jean-Marc Lasgouttes
 Ran == Ran Rutenberg [EMAIL PROTECTED] writes:

Ran he exists in th LINGUAS file and nevertheless it still doesn't
Ran work. As I mentioned I tried other languages as well (in order to
Ran check maybe it is just something faulty with the he.po file) but
Ran none of them work although they appear in the LINGUAS file and
Ran worked with the installed LyX 1.4

OK, I misread your message then. What OS are you using currently? Did
you try setting the language with a complete locale name, like
he_IL.UTF-8? 

JMarc


Re: Changing LyX into a different language

2007-02-23 Thread Ran Rutenberg

On 2/23/07, Jean-Marc Lasgouttes [EMAIL PROTECTED] wrote:


OK, I misread your message then. What OS are you using currently? Did
you try setting the language with a complete locale name, like
he_IL.UTF-8?


I am currently running Gentoo Linux. I tried setting the language with
a complete locale name he_IL.UTF-8 but it didn't work either (nor
did any other languages).

Ran Rutenberg


Re: Changing LyX into a different language

2007-02-23 Thread Helge Hafting

Ran Rutenberg wrote:

Dear Users,

I would like to change the language of lyx's interface from English to
Hebrew (I need to check a new he.po) in  LyX1.5 that I compiled.
However when I use the LANG or the LC_MESSAGES variable the only
result is a change in the language of the help files. I tried to
launch LyX in other languages beside Hebrew but it didn't work either.

I would like to mention that when I try the same thing with an
installed LyX 1.4 I can change LyX's language to German for example
but I can't change it to Hebrew.

Does anyone knows how to solve this?

Assuming you use linux - is your linux set up to support the hebrew locale?
My linux is set up for nrwegian and english only.  So those works, but
if I try
export LANG=de_DE ; lyx
then I get english menus and german help files.  This because
I haven't installed german locale support for my distro (debian),
and so Locale de_DE could not be set.

Looks like it doesn't matter if lyx comes with support for some language,
if the distro (c-library?) itself does not allow that language to be set.

With debian, use
dpkg-reconfigure locales
Other distros have similiar ways of setting up language support.


Helge Hafting


Re: Changing LyX into a different language

2007-02-23 Thread Jean-Marc Lasgouttes
 Ran == Ran Rutenberg [EMAIL PROTECTED] writes:

Ran On 2/23/07, Jean-Marc Lasgouttes [EMAIL PROTECTED] wrote:
 OK, I misread your message then. What OS are you using currently?
 Did you try setting the language with a complete locale name, like
 he_IL.UTF-8?

Ran I am currently running Gentoo Linux. I tried setting the language
Ran with a complete locale name he_IL.UTF-8 but it didn't work
Ran either (nor did any other languages).

Does it work for any program other than LyX?

JMarc


Re: Changing LyX into a different language

2007-02-23 Thread Ran Rutenberg

On 2/23/07, Helge Hafting [EMAIL PROTECTED] wrote:


Looks like it doesn't matter if lyx comes with support for some language,
if the distro (c-library?) itself does not allow that language to be set.


On 2/23/07, Jean-Marc Lasgouttes [EMAIL PROTECTED] wrote:


Does it work for any program other than LyX?


I check and in poEdit I can use the LANG setting to switch the
language into Hebrew or any other language I want so it can't be a
problem with my Linux locale - it has to be something else.

Sincerely,

Ran Rutenberg


Re: Changing LyX into a different language

2007-02-23 Thread Abdelrazak Younes

Ran Rutenberg wrote:
On 2/23/07, Helge Hafting 
[EMAIL PROTECTED] wrote:



Looks like it doesn't matter if lyx comes with support for some language,
if the distro (c-library?) itself does not allow that language to be set.


On 2/23/07, Jean-Marc Lasgouttes 
[EMAIL PROTECTED] wrote:



Does it work for any program other than LyX?


I check and in poEdit I can use the LANG setting to switch the
language into Hebrew or any other language I want so it can't be a
problem with my Linux locale - it has to be something else.


Check if LC_ALL or LC_MESSAGES are set. LyX extract the language 
definition in this order:


LC_ALL
LC_MESSAGES
LANG

As you see LANG is the third choice and is used only if the other two 
are not set. Maybe poEdit only check LANG, dunno.


Please correct me if I am wrong JMarc,
Abdel.



Re: Changing LyX into a different language

2007-02-23 Thread Jean-Marc Lasgouttes
 Ran == Ran Rutenberg [EMAIL PROTECTED] writes:

Ran I check and in poEdit I can use the LANG setting to switch the
Ran language into Hebrew or any other language I want so it can't be
Ran a problem with my Linux locale - it has to be something else.

That is very strange. You did install LyX 1.5, right? 

JMarc


Re: Changing LyX into a different language

2007-02-23 Thread Jean-Marc Lasgouttes
 Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes:

Abdelrazak LC_ALL LC_MESSAGES LANG

Abdelrazak As you see LANG is the third choice and is used only if
Abdelrazak the other two are not set. Maybe poEdit only check LANG,
Abdelrazak dunno.

Assuming poEdit uses gettext, there should not be any difference in
the algorithm.

JMarc


Re: Changing LyX into a different language

2007-02-23 Thread Ran Rutenberg

On 2/23/07, Jean-Marc Lasgouttes [EMAIL PROTECTED] wrote:


That is very strange. You did install LyX 1.5, right?


Oops, - it seems I forgot to to the make install - I ran LyX from
the src directory.
Now I did the make install and everything is fine - thanks for your assistance.

Sincerely,
Ran Rutenberg


Re: Changing LyX into a different language

2007-02-23 Thread Ran Rutenberg

On 2/23/07, Jean-Marc Lasgouttes <[EMAIL PROTECTED]> wrote:


Jean-Marc> Try to add "he" to the po/LINGUAS file. This contains the
Jean-Marc> list of languages that are actually supported.


"he" exists in th LINGUAS file and nevertheless it still doesn't work.
As I mentioned I tried other languages as well (in order to check
maybe it is just something faulty with the he.po file) but none of
them work although they appear in the LINGUAS file and worked with the
installed LyX 1.4


Re: Changing LyX into a different language

2007-02-23 Thread Jean-Marc Lasgouttes
> "Ran" == Ran Rutenberg <[EMAIL PROTECTED]> writes:

Ran> "he" exists in th LINGUAS file and nevertheless it still doesn't
Ran> work. As I mentioned I tried other languages as well (in order to
Ran> check maybe it is just something faulty with the he.po file) but
Ran> none of them work although they appear in the LINGUAS file and
Ran> worked with the installed LyX 1.4

OK, I misread your message then. What OS are you using currently? Did
you try setting the language with a complete locale name, like
"he_IL.UTF-8"? 

JMarc


Re: Changing LyX into a different language

2007-02-23 Thread Ran Rutenberg

On 2/23/07, Jean-Marc Lasgouttes <[EMAIL PROTECTED]> wrote:


OK, I misread your message then. What OS are you using currently? Did
you try setting the language with a complete locale name, like
"he_IL.UTF-8"?


I am currently running Gentoo Linux. I tried setting the language with
a complete locale name "he_IL.UTF-8" but it didn't work either (nor
did any other languages).

Ran Rutenberg


Re: Changing LyX into a different language

2007-02-23 Thread Helge Hafting

Ran Rutenberg wrote:

Dear Users,

I would like to change the language of lyx's interface from English to
Hebrew (I need to check a new he.po) in  LyX1.5 that I compiled.
However when I use the LANG or the LC_MESSAGES variable the only
result is a change in the language of the help files. I tried to
launch LyX in other languages beside Hebrew but it didn't work either.

I would like to mention that when I try the same thing with an
installed LyX 1.4 I can change LyX's language to German for example
but I can't change it to Hebrew.

Does anyone knows how to solve this?

Assuming you use linux - is your linux set up to support the hebrew locale?
My linux is set up for nrwegian and english only.  So those works, but
if I try
export LANG=de_DE ; lyx
then I get english menus and german help files.  This because
I haven't installed german locale support for my distro (debian),
and so "Locale de_DE could not be set".

Looks like it doesn't matter if lyx comes with support for some language,
if the distro (c-library?) itself does not allow that language to be set.

With debian, use
dpkg-reconfigure locales
Other distros have similiar ways of setting up language support.


Helge Hafting


Re: Changing LyX into a different language

2007-02-23 Thread Jean-Marc Lasgouttes
> "Ran" == Ran Rutenberg <[EMAIL PROTECTED]> writes:

Ran> On 2/23/07, Jean-Marc Lasgouttes <[EMAIL PROTECTED]> wrote:
>> OK, I misread your message then. What OS are you using currently?
>> Did you try setting the language with a complete locale name, like
>> "he_IL.UTF-8"?

Ran> I am currently running Gentoo Linux. I tried setting the language
Ran> with a complete locale name "he_IL.UTF-8" but it didn't work
Ran> either (nor did any other languages).

Does it work for any program other than LyX?

JMarc


Re: Changing LyX into a different language

2007-02-23 Thread Ran Rutenberg

On 2/23/07, Helge Hafting <[EMAIL PROTECTED]> wrote:


Looks like it doesn't matter if lyx comes with support for some language,
if the distro (c-library?) itself does not allow that language to be set.


On 2/23/07, Jean-Marc Lasgouttes <[EMAIL PROTECTED]> wrote:


Does it work for any program other than LyX?


I check and in poEdit I can use the LANG setting to switch the
language into Hebrew or any other language I want so it can't be a
problem with my Linux locale - it has to be something else.

Sincerely,

Ran Rutenberg


Re: Changing LyX into a different language

2007-02-23 Thread Abdelrazak Younes

Ran Rutenberg wrote:
On 2/23/07, Helge Hafting 
<[EMAIL PROTECTED]> wrote:



Looks like it doesn't matter if lyx comes with support for some language,
if the distro (c-library?) itself does not allow that language to be set.


On 2/23/07, Jean-Marc Lasgouttes 
<[EMAIL PROTECTED]> wrote:



Does it work for any program other than LyX?


I check and in poEdit I can use the LANG setting to switch the
language into Hebrew or any other language I want so it can't be a
problem with my Linux locale - it has to be something else.


Check if LC_ALL or LC_MESSAGES are set. LyX extract the language 
definition in this order:


LC_ALL
LC_MESSAGES
LANG

As you see LANG is the third choice and is used only if the other two 
are not set. Maybe poEdit only check LANG, dunno.


Please correct me if I am wrong JMarc,
Abdel.



Re: Changing LyX into a different language

2007-02-23 Thread Jean-Marc Lasgouttes
> "Ran" == Ran Rutenberg <[EMAIL PROTECTED]> writes:

Ran> I check and in poEdit I can use the LANG setting to switch the
Ran> language into Hebrew or any other language I want so it can't be
Ran> a problem with my Linux locale - it has to be something else.

That is very strange. You did install LyX 1.5, right? 

JMarc


Re: Changing LyX into a different language

2007-02-23 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:

Abdelrazak> LC_ALL LC_MESSAGES LANG

Abdelrazak> As you see LANG is the third choice and is used only if
Abdelrazak> the other two are not set. Maybe poEdit only check LANG,
Abdelrazak> dunno.

Assuming poEdit uses gettext, there should not be any difference in
the algorithm.

JMarc


Re: Changing LyX into a different language

2007-02-23 Thread Ran Rutenberg

On 2/23/07, Jean-Marc Lasgouttes <[EMAIL PROTECTED]> wrote:


That is very strange. You did install LyX 1.5, right?


Oops, - it seems I forgot to to the "make install" - I ran LyX from
the src directory.
Now I did the make install and everything is fine - thanks for your assistance.

Sincerely,
Ran Rutenberg


Re: Changing LyX into a different language

2007-02-22 Thread Jean-Marc Lasgouttes
 Ran == Ran Rutenberg [EMAIL PROTECTED] writes:

Ran Dear Users, I would like to change the language of lyx's
Ran interface from English to Hebrew (I need to check a new he.po) in
Ran LyX1.5 that I compiled. However when I use the LANG or the
Ran LC_MESSAGES variable the only result is a change in the language
Ran of the help files. I tried to launch LyX in other languages
Ran beside Hebrew but it didn't work either.

Ran I would like to mention that when I try the same thing with an
Ran installed LyX 1.4 I can change LyX's language to German for
Ran example but I can't change it to Hebrew.

Ran Does anyone knows how to solve this?

Try to add he to the po/LINGUAS file. This contains the list of
languages that are actually supported.

JMarc


Re: Changing LyX into a different language

2007-02-22 Thread Jean-Marc Lasgouttes
 Jean-Marc == Jean-Marc Lasgouttes [EMAIL PROTECTED] writes:

Ran Does anyone knows how to solve this?

Jean-Marc Try to add he to the po/LINGUAS file. This contains the
Jean-Marc list of languages that are actually supported.

And then reinstall LyX, of course.

JMarc


Re: Changing LyX into a different language

2007-02-22 Thread Jean-Marc Lasgouttes
 Ran == Ran Rutenberg [EMAIL PROTECTED] writes:

Ran Dear Users, I would like to change the language of lyx's
Ran interface from English to Hebrew (I need to check a new he.po) in
Ran LyX1.5 that I compiled. However when I use the LANG or the
Ran LC_MESSAGES variable the only result is a change in the language
Ran of the help files. I tried to launch LyX in other languages
Ran beside Hebrew but it didn't work either.

Ran I would like to mention that when I try the same thing with an
Ran installed LyX 1.4 I can change LyX's language to German for
Ran example but I can't change it to Hebrew.

Ran Does anyone knows how to solve this?

Try to add he to the po/LINGUAS file. This contains the list of
languages that are actually supported.

JMarc


Re: Changing LyX into a different language

2007-02-22 Thread Jean-Marc Lasgouttes
 Jean-Marc == Jean-Marc Lasgouttes [EMAIL PROTECTED] writes:

Ran Does anyone knows how to solve this?

Jean-Marc Try to add he to the po/LINGUAS file. This contains the
Jean-Marc list of languages that are actually supported.

And then reinstall LyX, of course.

JMarc


Re: Changing LyX into a different language

2007-02-22 Thread Jean-Marc Lasgouttes
> "Ran" == Ran Rutenberg <[EMAIL PROTECTED]> writes:

Ran> Dear Users, I would like to change the language of lyx's
Ran> interface from English to Hebrew (I need to check a new he.po) in
Ran> LyX1.5 that I compiled. However when I use the LANG or the
Ran> LC_MESSAGES variable the only result is a change in the language
Ran> of the help files. I tried to launch LyX in other languages
Ran> beside Hebrew but it didn't work either.

Ran> I would like to mention that when I try the same thing with an
Ran> installed LyX 1.4 I can change LyX's language to German for
Ran> example but I can't change it to Hebrew.

Ran> Does anyone knows how to solve this?

Try to add "he" to the po/LINGUAS file. This contains the list of
languages that are actually supported.

JMarc


Re: Changing LyX into a different language

2007-02-22 Thread Jean-Marc Lasgouttes
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:

Ran> Does anyone knows how to solve this?

Jean-Marc> Try to add "he" to the po/LINGUAS file. This contains the
Jean-Marc> list of languages that are actually supported.

And then reinstall LyX, of course.

JMarc