Re: The LANG environment variable...

2005-06-18 Thread Andre Poenitz
On Wed, Jun 15, 2005 at 12:53:07PM +0200, Lars Gullik Bjnnes wrote: en_US is english in the us nn_NO nynorsk in norway no_NO norsk aka bokml in norway. no_NY just seems wrong. Norsk in New York perhaps? Andre'

Re: The LANG environment variable...

2005-06-18 Thread Andre Poenitz
On Tue, Jun 14, 2005 at 10:08:09PM +0100, Angus Leeming wrote: On Tuesday 14 June 2005 21:34, Andre Poenitz wrote: On Tue, Jun 14, 2005 at 01:14:05PM +0200, Helge Hafting wrote: if %LANG%== SET LANG=no_NO lyx.exe %* [...] Second line starts the lyx executable and passes any

Re: The LANG environment variable...

2005-06-18 Thread Andre Poenitz
On Wed, Jun 15, 2005 at 12:53:07PM +0200, Lars Gullik Bjønnes wrote: > en_US is english in the us > nn_NO "nynorsk" in norway > no_NO "norsk" aka bokmål in norway. > > no_NY just seems wrong. Norsk in New York perhaps? Andre'

Re: The LANG environment variable...

2005-06-18 Thread Andre Poenitz
On Tue, Jun 14, 2005 at 10:08:09PM +0100, Angus Leeming wrote: > On Tuesday 14 June 2005 21:34, Andre Poenitz wrote: > > On Tue, Jun 14, 2005 at 01:14:05PM +0200, Helge Hafting wrote: > > > if "%LANG%"=="" SET LANG=no_NO > > > lyx.exe %* > > > [...] > > > Second line starts the lyx executable and

Re: The LANG environment variable...

2005-06-15 Thread Helge Hafting
Angus Leeming wrote: On Tuesday 14 June 2005 21:34, Andre Poenitz wrote: On Tue, Jun 14, 2005 at 01:14:05PM +0200, Helge Hafting wrote: if %LANG%== SET LANG=no_NO lyx.exe %* [...] Second line starts the lyx executable and passes any parameters to it. The script is tested on windows

Re: The LANG environment variable...

2005-06-15 Thread Helge Hafting
Andre Poenitz wrote: On Tue, Jun 14, 2005 at 10:45:07AM +0200, Asger Alstrup wrote: Angus Leeming wrote: That way, Uwe wouldn't set LANG globably from the Windows installer but rather would get the configure script to output \ui_language de_DE to lyxrc.defaults. Thoughts?

Re: The LANG environment variable...

2005-06-15 Thread Angus Leeming
Helge Hafting wrote: Angus Leeming wrote: On Tuesday 14 June 2005 21:34, Andre Poenitz wrote: On Tue, Jun 14, 2005 at 01:14:05PM +0200, Helge Hafting wrote: if %LANG%== SET LANG=no_NO lyx.exe %* [...] Second line starts the lyx executable and passes any parameters to it. The script is

Re: The LANG environment variable...

2005-06-15 Thread Angus Leeming
Angus Leeming wrote: I've been testing things out and have two remaining problems: 1. Creating short cuts from the desktop and from the start menu to c:\Program Files\LyX\bin\lyx.bat works perfectly well, but my icons are replaced with that of a .bat file. Any idea how to get back to the

Re: The LANG environment variable...

2005-06-15 Thread Uwe Stöhr
Angus Leeming wrote: Putting the two dataabses together: nn_NO Nynorsk It is no_NY. I put some code tables on http://fkurth.de/uwest/LyX/Installer/LangCodes/ regards Uwe

Re: The LANG environment variable...

2005-06-15 Thread Angus Leeming
Uwe Sthr wrote: nn_NO Nynorsk It is no_NY. Both appear to be quite common. google on nn_NO and on no_NY. Note that the po file is nn.po... Angus

Re: The LANG environment variable...

2005-06-15 Thread Lars Gullik Bjønnes
Angus Leeming [EMAIL PROTECTED] writes: | Uwe Stöhr wrote: nn_NO Nynorsk It is no_NY. | Both appear to be quite common. google on nn_NO and on no_NY. Note | that the po file is nn.po... I think it really should be nn. nn is the language XX is the country. en_EN is english in england en_US

Re: The LANG environment variable...

2005-06-15 Thread Enrico Forestieri
Helge Hafting [EMAIL PROTECTED] writes: Angus Leeming wrote: [snip] In that case, shouldn't it be lyx.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 No, that will turn lyx.bat file with spaces.lyx into lyx.exe file with spaces.lyx and that won't work too well. To avoid double quoting

Re: The LANG environment variable...

2005-06-15 Thread Enrico Forestieri
Angus Leeming [EMAIL PROTECTED] writes: 2 Launching LyX at the end of the installer as !define PRODUCT_BAT $INSTDIR\bin\lyx.bat !define MUI_FINISHPAGE_RUN ${PRODUCT_BAT} works perfectly well, but I get a bloody great cmd window in the background. How do I make it go away?

Re: The LANG environment variable...

2005-06-15 Thread Angus Leeming
Enrico Forestieri wrote: Angus Leeming [EMAIL PROTECTED] writes: 2 Launching LyX at the end of the installer as !define PRODUCT_BAT $INSTDIR\bin\lyx.bat !define MUI_FINISHPAGE_RUN ${PRODUCT_BAT} works perfectly well, but I get a bloody great cmd window in the background. How do I make it

Re: The LANG environment variable...

2005-06-15 Thread Angus Leeming
Enrico Forestieri wrote: Helge Hafting [EMAIL PROTECTED] writes: To avoid double quoting the ~ character should be used. So: lyx.exe %~1 %~2 %~3 %~4 %~5 %~6 %~7 %~8 %~9 works as expected. Excellent! Done. I'll upload Version 15 ASAP. It has this lyx.bat and a reLyX.bat for you ;-) Angus

Re: The LANG environment variable...

2005-06-15 Thread Jean-Marc Lasgouttes
Jean-Marc == Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: Angus == Angus Leeming [EMAIL PROTECTED] writes: You didn't look in the right place, obviously. google for gettext windows: http://gnuwin32.sourceforge.net/install.html#Native-language_support_ Angus However, see also the message

Re: The LANG environment variable...

2005-06-15 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: Jean-Marc This probably means that if you manage to link against the Jean-Marc gettext provided with mingw tools, it should just work. Hello? Angus? Do you think it is possible to build LyX against the gettext provided with mingw? This would probably fix a lot of the

Re: The LANG environment variable...

2005-06-15 Thread Jean-Marc Lasgouttes
Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus Sorry, I guess that I missed this bit of your mail. Angus I could certainly try, but I don't see what it gains us. Angus There's about 20 lines in the installer to set the language of Angus the UI. Moreover, because it is encapsulated in a

Re: The LANG environment variable...

2005-06-15 Thread Uwe Stöhr
Lars Gullik Bjønnes wrote: | Both appear to be quite common. google on nn_NO and on no_NY. Note | that the po file is nn.po... I'll apply this. thanks and regards Uwe

Re: The LANG environment variable...

2005-06-15 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: Angus Sorry, I guess that I missed this bit of your mail. Angus I could certainly try, but I don't see what it gains us. Angus There's about 20 lines in the installer to set the language of Angus the UI. Moreover, because it is encapsulated in a lyx.bat file, Angus

Re: The LANG environment variable...

2005-06-15 Thread Jean-Marc Lasgouttes
Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus I propose not to persue this further as I understand you use Angus gettext-0.13 in the 1.4.x tree and things work well enough Angus --with-included-gettext in teh 1.3.x tree. Sure. Thanks a lot to testing that. JMarc

Re: The LANG environment variable...

2005-06-15 Thread Enrico Forestieri
Angus Leeming [EMAIL PROTECTED] writes: Enrico Forestieri wrote: Helge Hafting helge.hafting at ... writes: To avoid double quoting the ~ character should be used. So: lyx.exe %~1 %~2 %~3 %~4 %~5 %~6 %~7 %~8 %~9 works as expected. Excellent! Done. I'll upload Version 15 ASAP. It

Re: The LANG environment variable...

2005-06-15 Thread Enrico Forestieri
Angus Leeming [EMAIL PROTECTED] writes: Enrico Forestieri wrote: [snip] Launching the last command in the bat file with start should do the trick. $ cat lyx.bat at echo off rem rem some stuff here rem start lyx.exe Enrico I'm afraid that doesn't work. How odd.

Re: The LANG environment variable...

2005-06-15 Thread Helge Hafting
Angus Leeming wrote: On Tuesday 14 June 2005 21:34, Andre Poenitz wrote: On Tue, Jun 14, 2005 at 01:14:05PM +0200, Helge Hafting wrote: if "%LANG%"=="" SET LANG=no_NO lyx.exe %* [...] Second line starts the lyx executable and passes any parameters to it. The script is tested on

Re: The LANG environment variable...

2005-06-15 Thread Helge Hafting
Andre Poenitz wrote: On Tue, Jun 14, 2005 at 10:45:07AM +0200, Asger Alstrup wrote: Angus Leeming wrote: That way, Uwe wouldn't set LANG globably from the Windows installer but rather would get the configure script to output \ui_language de_DE to lyxrc.defaults. Thoughts?

Re: The LANG environment variable...

2005-06-15 Thread Angus Leeming
Helge Hafting wrote: Angus Leeming wrote: On Tuesday 14 June 2005 21:34, Andre Poenitz wrote: On Tue, Jun 14, 2005 at 01:14:05PM +0200, Helge Hafting wrote: if "%LANG%"=="" SET LANG=no_NO lyx.exe %* [...] Second line starts the lyx executable and passes any parameters to it. The

Re: The LANG environment variable...

2005-06-15 Thread Angus Leeming
Angus Leeming wrote: I've been testing things out and have two remaining problems: 1. Creating short cuts from the desktop and from the start menu to c:\Program Files\LyX\bin\lyx.bat works perfectly well, but my icons are replaced with that of a .bat file. Any idea how to get back to the

Re: The LANG environment variable...

2005-06-15 Thread Uwe Stöhr
Angus Leeming wrote: Putting the two dataabses together: nn_NO Nynorsk It is no_NY. I put some code tables on http://fkurth.de/uwest/LyX/Installer/LangCodes/ regards Uwe

Re: The LANG environment variable...

2005-06-15 Thread Angus Leeming
Uwe Stöhr wrote: nn_NO Nynorsk It is no_NY. Both appear to be quite common. google on "nn_NO" and on "no_NY". Note that the po file is nn.po... Angus

Re: The LANG environment variable...

2005-06-15 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Uwe Stöhr wrote: >>> nn_NO Nynorsk >> It is no_NY. > | Both appear to be quite common. google on "nn_NO" and on "no_NY". Note | that the po file is nn.po... I think it really should be "nn". nn is the language XX is the country. en_EN is english in

Re: The LANG environment variable...

2005-06-15 Thread Enrico Forestieri
Helge Hafting <[EMAIL PROTECTED]> writes: > > Angus Leeming wrote: > [snip] > >In that case, shouldn't it be > > > >lyx.exe "%1" "%2" "%3" "%4" "%5" "%6" "%7" "%8" "%9" > > > > > > > No, that will turn > lyx.bat "file with spaces.lyx" > into > lyx.exe ""file with spaces.lyx"" and that won't

Re: The LANG environment variable...

2005-06-15 Thread Enrico Forestieri
Angus Leeming <[EMAIL PROTECTED]> writes: > > 2 Launching LyX at the end of the installer as > >!define PRODUCT_BAT "$INSTDIR\bin\lyx.bat" > >!define MUI_FINISHPAGE_RUN "${PRODUCT_BAT}" > > works perfectly well, but I get a bloody great cmd window in the > > background. How do I make it

Re: The LANG environment variable...

2005-06-15 Thread Angus Leeming
Enrico Forestieri wrote: Angus Leeming <[EMAIL PROTECTED]> writes: 2 Launching LyX at the end of the installer as !define PRODUCT_BAT "$INSTDIR\bin\lyx.bat" !define MUI_FINISHPAGE_RUN "${PRODUCT_BAT}" works perfectly well, but I get a bloody great cmd window in the background. How do I

Re: The LANG environment variable...

2005-06-15 Thread Angus Leeming
Enrico Forestieri wrote: Helge Hafting <[EMAIL PROTECTED]> writes: To avoid double quoting the ~ character should be used. So: lyx.exe "%~1" "%~2" "%~3" "%~4" "%~5" "%~6" "%~7" "%~8" "%~9" works as expected. Excellent! Done. I'll upload Version 15 ASAP. It has this lyx.bat and a reLyX.bat for

Re: The LANG environment variable...

2005-06-15 Thread Jean-Marc Lasgouttes
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: >>> You didn't look in the right place, obviously. google for "gettext >>> windows": >>> >>> http://gnuwin32.sourceforge.net/install.html#Native-language_support_

Re: The LANG environment variable...

2005-06-15 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: Jean-Marc> This probably means that if you manage to link against the Jean-Marc> gettext provided with mingw tools, it should just work. Hello? Angus? Do you think it is possible to build LyX against the gettext provided with mingw? This would probably fix a lot of

Re: The LANG environment variable...

2005-06-15 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Sorry, I guess that I missed this bit of your mail. Angus> I could certainly try, but I don't see what it gains us. Angus> There's about 20 lines in the installer to set the language of Angus> the UI. Moreover, because it is

Re: The LANG environment variable...

2005-06-15 Thread Uwe Stöhr
Lars Gullik Bjønnes wrote: | Both appear to be quite common. google on "nn_NO" and on "no_NY". Note | that the po file is nn.po... I'll apply this. thanks and regards Uwe

Re: The LANG environment variable...

2005-06-15 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: Angus> Sorry, I guess that I missed this bit of your mail. Angus> I could certainly try, but I don't see what it gains us. Angus> There's about 20 lines in the installer to set the language of Angus> the UI. Moreover, because it is encapsulated in a lyx.bat file,

Re: The LANG environment variable...

2005-06-15 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> I propose not to persue this further as I understand you use Angus> gettext-0.13 in the 1.4.x tree and things work well enough Angus> --with-included-gettext in teh 1.3.x tree. Sure. Thanks a lot to testing that. JMarc

Re: The LANG environment variable...

2005-06-15 Thread Enrico Forestieri
Angus Leeming <[EMAIL PROTECTED]> writes: > > Enrico Forestieri wrote: > > Helge Hafting ...> writes: > > To avoid double quoting the ~ character should be used. So: > > lyx.exe "%~1" "%~2" "%~3" "%~4" "%~5" "%~6" "%~7" "%~8" "%~9" > > works as expected. > > Excellent! Done. > > I'll upload

Re: The LANG environment variable...

2005-06-15 Thread Enrico Forestieri
Angus Leeming <[EMAIL PROTECTED]> writes: > > Enrico Forestieri wrote: [snip] > > Launching the last command in the bat file with "start" should do the trick. > > > > $ cat lyx.bat > > echo off > > rem > > rem some stuff here > > rem > > start lyx.exe > > > > Enrico > > I'm afraid

The LANG environment variable...

2005-06-14 Thread Angus Leeming
...is used, of course, to control l10n of the UI. (How about that for jargon!) Trouble is, it's not very intuitive to Windows users. I wonder if it would not be good to have a LyXRC::ui_language variable and get LyX to set LANG if it isn't empty: +if (!lyxrc.ui_language.empty()) +

Re: The LANG environment variable...

2005-06-14 Thread Asger Alstrup
Angus Leeming wrote: That way, Uwe wouldn't set LANG globably from the Windows installer but rather would get the configure script to output \ui_language de_DE to lyxrc.defaults. Thoughts? Looks good to me. I was thinking the same, except that I was leaning towards a command-line

Re: The LANG environment variable...

2005-06-14 Thread Jean-Marc Lasgouttes
Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus ...is used, of course, to control l10n of the UI. (How about Angus that for jargon!) Trouble is, it's not very intuitive to Angus Windows users. I wonder if it would not be good to have a Angus LyXRC::ui_language variable and get LyX to set

Re: The LANG environment variable...

2005-06-14 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus ...is used, of course, to control l10n of the UI. (How about Angus that for jargon!) Trouble is, it's not very intuitive to Angus Windows users. I wonder if it would not be good to have a Angus

Re: The LANG environment variable...

2005-06-14 Thread Helge Hafting
Angus Leeming wrote: ...is used, of course, to control l10n of the UI. (How about that for jargon!) Trouble is, it's not very intuitive to Windows users. I wonder if it would not be good to have a LyXRC::ui_language variable and get LyX to set LANG if it isn't empty: Possibly a good

Re: The LANG environment variable...

2005-06-14 Thread Georg Baum
Angus Leeming wrote: I read that as saying that the UI should just work. We shouldn't need to set LANG. Probably it would not just work, because we mess around with LC_ALL because of buffer translation in messages.C. Georg

Re: The LANG environment variable...

2005-06-14 Thread Angus Leeming
Helge Hafting wrote: Angus Leeming wrote: ...is used, of course, to control l10n of the UI. (How about that for jargon!) Trouble is, it's not very intuitive to Windows users. I wonder if it would not be good to have a LyXRC::ui_language variable and get LyX to set LANG if it isn't empty:

Re: The LANG environment variable...

2005-06-14 Thread Angus Leeming
Angus Leeming wrote: Jean-Marc Lasgouttes wrote: Angus ...is used, of course, to control l10n of the UI. (How about Angus that for jargon!) Trouble is, it's not very intuitive to Angus Windows users. I wonder if it would not be good to have a Angus LyXRC::ui_language variable and get LyX to

Re: The LANG environment variable...

2005-06-14 Thread Lars Gullik Bjønnes
Angus Leeming [EMAIL PROTECTED] writes: | ...is used, of course, to control l10n of the UI. (How about that for | jargon!) Trouble is, it's not very intuitive to Windows users. I wonder if | it would not be good to have a LyXRC::ui_language variable and get LyX to | set LANG if it isn't empty: |

Re: The LANG environment variable...

2005-06-14 Thread Jean-Marc Lasgouttes
Angus == Angus Leeming [EMAIL PROTECTED] writes: You didn't look in the right place, obviously. google for gettext windows: http://gnuwin32.sourceforge.net/install.html#Native-language_support_ Angus However, see also the message I've just posted to the MinSYS Angus list:

Re: The LANG environment variable...

2005-06-14 Thread Uwe Stöhr
Angus Leeming wrote: That way, Uwe wouldn't set LANG globably from the Windows installer Now that I've invested my time you will change it :-(. (Just joking) rather would get the configure script to output \ui_language de_DE to lyxrc.defaults. Fine with me. regards Uwe

Re: The LANG environment variable...

2005-06-14 Thread Angus Leeming
Uwe Sthr wrote: Angus Leeming wrote: That way, Uwe wouldn't set LANG globably from the Windows installer Now that I've invested my time you will change it :-(. (Just joking) :-) No you're not. Uwe, We have these po files in 1.3.x: bg ca cs da de es eu fi fr he hu it nl nn no pl pt ro ru

Re: The LANG environment variable...

2005-06-14 Thread Angus Leeming
Angus Leeming wrote: Putting the two dataabses together: bg_BG ca_ES Catal cs_CZ etina da_DK Dansk de_DE Deutsch en_US English es_ES Espaol eu Euskara fi_FI Suomi fr_FR Franais he_IL hu_HU Magyar it_IT Italiano nl_NL Nederlands nn_NO Nynorsk no_NO Norsk Bokml pl_PL Polski pt_PT Portugus ro_RO

Re: The LANG environment variable...

2005-06-14 Thread Uwe Stöhr
Angus Leeming wrote: Uwe, We have these po files in 1.3.x: bg ca cs da de es eu fi fr he hu it nl nn no pl pt ro ru sk sl sv tr wa and your installer dropdown has these language strings: Dansk|Deutsch|English|Espagol|Euskara|Franais|Italiano|

Re: The LANG environment variable...

2005-06-14 Thread Angus Leeming
Uwe Sthr wrote: Thanks for the language names but NSIS don't accept Unicode or kyrillic. Chars in this encoding will appear invisible. This restriction is due to NSIS's support for 98/ME as these OSes can't handle unicode. Hmmm. googling on nsis LOCALE_LANGUAGE_NAME hebrew pulls up

Re: The LANG environment variable...

2005-06-14 Thread Uwe Stöhr
Angus Leeming wrote: googling on nsis LOCALE_LANGUAGE_NAME hebrew pulls up http://cvs.limewire.org/fisheye/viewrep/~raw,r=1.51/limecvs/lib/messagebundles/MessagesBundle_iw.properties Oh this looks complicated and I'm not sure it it's possible to get hebrew, kyrillic, and latin displayed in

Re: The LANG environment variable...

2005-06-14 Thread Uwe Stöhr
I wrote: Whenever I checkout CVS I get e.g. version lyx_path_prefix.C in revision 1.3 (08-06) instead of revision 1.1.2.3 (09-06), also If I use the CVS interface from lyx.org. Argh I checked out HEAD insted of the branch! I need a break now. sorry Uwe

Re: The LANG environment variable...

2005-06-14 Thread Andre Poenitz
On Tue, Jun 14, 2005 at 01:14:05PM +0200, Helge Hafting wrote: if %LANG%== SET LANG=no_NO lyx.exe %* [...] Second line starts the lyx executable and passes any parameters to it. The script is tested on windows XP. (I don't have lyx for windows, but the LANG test and parameter passing works

Re: The LANG environment variable...

2005-06-14 Thread Andre Poenitz
On Tue, Jun 14, 2005 at 10:45:07AM +0200, Asger Alstrup wrote: Angus Leeming wrote: That way, Uwe wouldn't set LANG globably from the Windows installer but rather would get the configure script to output \ui_language de_DE to lyxrc.defaults. Thoughts? Looks good to me. I was

Re: The LANG environment variable...

2005-06-14 Thread Angus Leeming
On Tuesday 14 June 2005 21:34, Andre Poenitz wrote: On Tue, Jun 14, 2005 at 01:14:05PM +0200, Helge Hafting wrote: if %LANG%== SET LANG=no_NO lyx.exe %* [...] Second line starts the lyx executable and passes any parameters to it. The script is tested on windows XP. (I don't have lyx

The LANG environment variable...

2005-06-14 Thread Angus Leeming
...is used, of course, to control l10n of the UI. (How about that for jargon!) Trouble is, it's not very intuitive to Windows users. I wonder if it would not be good to have a LyXRC::ui_language variable and get LyX to set LANG if it isn't empty: +if (!lyxrc.ui_language.empty()) +

Re: The LANG environment variable...

2005-06-14 Thread Asger Alstrup
Angus Leeming wrote: That way, Uwe wouldn't set LANG globably from the Windows installer but rather would get the configure script to output \ui_language de_DE to lyxrc.defaults. Thoughts? Looks good to me. I was thinking the same, except that I was leaning towards a command-line

Re: The LANG environment variable...

2005-06-14 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> ...is used, of course, to control l10n of the UI. (How about Angus> that for jargon!) Trouble is, it's not very intuitive to Angus> Windows users. I wonder if it would not be good to have a Angus> LyXRC::ui_language variable and

Re: The LANG environment variable...

2005-06-14 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: >> "Angus" == Angus Leeming <[EMAIL PROTECTED]> >> writes: > > Angus> ...is used, of course, to control l10n of the UI. (How about > Angus> that for jargon!) Trouble is, it's not very intuitive to > Angus> Windows users. I wonder if it would not be good to

Re: The LANG environment variable...

2005-06-14 Thread Helge Hafting
Angus Leeming wrote: ...is used, of course, to control l10n of the UI. (How about that for jargon!) Trouble is, it's not very intuitive to Windows users. I wonder if it would not be good to have a LyXRC::ui_language variable and get LyX to set LANG if it isn't empty: Possibly a good

Re: The LANG environment variable...

2005-06-14 Thread Georg Baum
Angus Leeming wrote: > I read that as saying that the UI should just work. We shouldn't need to > set LANG. Probably it would not just work, because we mess around with LC_ALL because of buffer translation in messages.C. Georg

Re: The LANG environment variable...

2005-06-14 Thread Angus Leeming
Helge Hafting wrote: > Angus Leeming wrote: > >>...is used, of course, to control l10n of the UI. (How about that for >>jargon!) Trouble is, it's not very intuitive to Windows users. I wonder >>if it would not be good to have a LyXRC::ui_language variable and get LyX >>to set LANG if it isn't

Re: The LANG environment variable...

2005-06-14 Thread Angus Leeming
Angus Leeming wrote: > Jean-Marc Lasgouttes wrote: >> Angus> ...is used, of course, to control l10n of the UI. (How about >> Angus> that for jargon!) Trouble is, it's not very intuitive to >> Angus> Windows users. I wonder if it would not be good to have a >> Angus> LyXRC::ui_language variable and

Re: The LANG environment variable...

2005-06-14 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | ...is used, of course, to control l10n of the UI. (How about that for | jargon!) Trouble is, it's not very intuitive to Windows users. I wonder if | it would not be good to have a LyXRC::ui_language variable and get LyX to | set LANG if it isn't empty:

Re: The LANG environment variable...

2005-06-14 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: >> You didn't look in the right place, obviously. google for "gettext >> windows": >> >> http://gnuwin32.sourceforge.net/install.html#Native-language_support_ Angus> However, see also the message I've just posted to the MinSYS Angus>

Re: The LANG environment variable...

2005-06-14 Thread Uwe Stöhr
Angus Leeming wrote: That way, Uwe wouldn't set LANG globably from the Windows installer Now that I've invested my time you will change it :-(. (Just joking) rather would get the configure script to output \ui_language de_DE to lyxrc.defaults. Fine with me. regards Uwe

Re: The LANG environment variable...

2005-06-14 Thread Angus Leeming
Uwe Stöhr wrote: Angus Leeming wrote: That way, Uwe wouldn't set LANG globably from the Windows installer Now that I've invested my time you will change it :-(. (Just joking) :-) No you're not. Uwe, We have these po files in 1.3.x: bg ca cs da de es eu fi fr he hu it nl nn no pl pt ro ru

Re: The LANG environment variable...

2005-06-14 Thread Angus Leeming
Angus Leeming wrote: Putting the two dataabses together: bg_BG български ca_ES Català cs_CZ Čeština da_DK Dansk de_DE Deutsch en_US English es_ES Español eu Euskara fi_FI Suomi fr_FR Français he_IL עברית hu_HU Magyar it_IT Italiano nl_NL Nederlands nn_NO Nynorsk no_NO Norsk Bokmål pl_PL Polski

Re: The LANG environment variable...

2005-06-14 Thread Uwe Stöhr
Angus Leeming wrote: Uwe, We have these po files in 1.3.x: bg ca cs da de es eu fi fr he hu it nl nn no pl pt ro ru sk sl sv tr wa and your installer dropdown has these language strings: Dansk|Deutsch|English|Espagñol|Euskara|Français|Italiano|

Re: The LANG environment variable...

2005-06-14 Thread Angus Leeming
Uwe Stöhr wrote: Thanks for the language names but NSIS don't accept Unicode or kyrillic. Chars in this encoding will appear invisible. This restriction is due to NSIS's support for 98/ME as these OSes can't handle unicode. Hmmm. googling on "nsis LOCALE_LANGUAGE_NAME hebrew" pulls up

Re: The LANG environment variable...

2005-06-14 Thread Uwe Stöhr
Angus Leeming wrote: googling on "nsis LOCALE_LANGUAGE_NAME hebrew" pulls up http://cvs.limewire.org/fisheye/viewrep/~raw,r=1.51/limecvs/lib/messagebundles/MessagesBundle_iw.properties Oh this looks complicated and I'm not sure it it's possible to get hebrew, kyrillic, and latin displayed in

Re: The LANG environment variable...

2005-06-14 Thread Uwe Stöhr
I wrote: Whenever I checkout CVS I get e.g. version lyx_path_prefix.C in revision 1.3 (08-06) instead of revision 1.1.2.3 (09-06), also If I use the CVS interface from lyx.org. Argh I checked out HEAD insted of the branch! I need a break now. sorry Uwe

Re: The LANG environment variable...

2005-06-14 Thread Andre Poenitz
On Tue, Jun 14, 2005 at 01:14:05PM +0200, Helge Hafting wrote: > if "%LANG%"=="" SET LANG=no_NO > lyx.exe %* > [...] > Second line starts the lyx executable and passes any parameters to it. > The script is tested on windows XP. (I don't have lyx for windows, > but the LANG test and parameter

Re: The LANG environment variable...

2005-06-14 Thread Andre Poenitz
On Tue, Jun 14, 2005 at 10:45:07AM +0200, Asger Alstrup wrote: > Angus Leeming wrote: > >That way, Uwe wouldn't set LANG globably from the Windows installer but > >rather would get the configure script to output > > > > \ui_language de_DE > > > >to lyxrc.defaults. > > > >Thoughts? > > Looks

Re: The LANG environment variable...

2005-06-14 Thread Angus Leeming
On Tuesday 14 June 2005 21:34, Andre Poenitz wrote: > On Tue, Jun 14, 2005 at 01:14:05PM +0200, Helge Hafting wrote: > > if "%LANG%"=="" SET LANG=no_NO > > lyx.exe %* > > [...] > > Second line starts the lyx executable and passes any parameters > > to it. The script is tested on windows XP. (I