Re: [PATCH] put Gui language definition in lyxrc

2007-01-18 Thread Uwe Stöhr
Jean-Marc Lasgouttes schrieb: Uwe> I'm not able to maintain Joost's code :-( It is a pity that we have to keep two installers. One reason why I'd rather not have your installer in the tree is that you keep adding things that are not in LyX itself. With the patch for the viewing toolbar I have

Re: [PATCH] put Gui language definition in lyxrc

2007-01-18 Thread Uwe Stöhr
Uwe Stöhr schrieb: >>The >>SET OUTPUT_CHARSET=xxx >> >>setting is needed that LyX can be installed in folder/paths with accented characters, umlauts, >> etc. I've build in a lookup table for the different languages. Unfortunately utf-8 cannot be >> used, only a cp charset - I

Re: [PATCH] put Gui language definition in lyxrc

2007-01-18 Thread Jean-Marc Lasgouttes
> "Uwe" == Uwe Stöhr <[EMAIL PROTECTED]> writes: Uwe> Joost's installer is based on mine but he build in many special Uwe> things that I cannot maintain. I listed the differences here: Uwe> http://wiki.lyx.org/Windows/LyXWinInstaller I do not see what Joost built in. Only the advantages f you

Re: [PATCH] put Gui language definition in lyxrc

2007-01-17 Thread Uwe Stöhr
>>The >>SET OUTPUT_CHARSET=xxx >> >>setting is needed that LyX can be installed in folder/paths with accented characters, umlauts, >> etc. I've build in a lookup table for the different languages. Unfortunately utf-8 cannot be >> used, only a cp charset - I found out that this is a

Re: [PATCH] put Gui language definition in lyxrc

2007-01-17 Thread Uwe Stöhr
Jean-Marc Lasgouttes schrieb: Uwe> Btw. I want to upload my installer stuff to SVN, is that OK? Please not unless Joost agrees about the changes. I do not think it is a good idea to have two different installers. You should be able to agree on a common base. I cannot reach him for weeks now a

Re: [PATCH] put Gui language definition in lyxrc

2007-01-17 Thread Enrico Forestieri
On Wed, Jan 17, 2007 at 10:49:48AM +0100, Abdelrazak Younes wrote: > Uwe Stöhr wrote: > > @echo off > > SET OUTPUT_CHARSET=cp-1252 > > SET LANG=de_DE > > SET AIK_DATA_DIR=C:\Program Files (x86)\LyX 1.5svn-15-01-2007\aiksaurus > > start "LyX" "C:\Program Files (x86)\LyX 1.5svn-15-01-2007\bin\lyx.e

Re: [PATCH] put Gui language definition in lyxrc

2007-01-17 Thread Enrico Forestieri
On Wed, Jan 17, 2007 at 01:10:51PM +0100, Jean-Marc Lasgouttes wrote: > > "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: > > Enrico> The language setting could be asked to the system when LC_ALL > Enrico> or LANG are not set in the environment. See for example: > Enrico> http://blo

Re: [PATCH] put Gui language definition in lyxrc

2007-01-17 Thread Jean-Marc Lasgouttes
> "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: Enrico> The language setting could be asked to the system when LC_ALL Enrico> or LANG are not set in the environment. See for example: Enrico> http://blogs.msdn.com/michkap/archive/2005/02/01/364707.aspx Enrico> http://www.microsoft.c

Re: [PATCH] put Gui language definition in lyxrc

2007-01-17 Thread Jean-Marc Lasgouttes
> "Uwe" == Uwe Stöhr <[EMAIL PROTECTED]> writes: Uwe> Btw. I want to upload my installer stuff to SVN, is that OK? Please not unless Joost agrees about the changes. I do not think it is a good idea to have two different installers. You should be able to agree on a common base. JMarc

Re: [PATCH] put Gui language definition in lyxrc

2007-01-17 Thread Abdelrazak Younes
Uwe Stöhr wrote: >>This is the content of the batch file: >> >>@echo off >>SET LC_ALL=en_EN >>SET AIK_DATA_DIR=D:\program\LyX14\aiksaurus >>start "LyX" "D:\program\LyX14\bin\lyx.exe" %* No, the current version is e.g.: @echo off SET OUTPUT_CHARSET=c

Re: [PATCH] put Gui language definition in lyxrc

2007-01-16 Thread Uwe Stöhr
>>This is the content of the batch file: >> >>@echo off >>SET LC_ALL=en_EN >>SET AIK_DATA_DIR=D:\program\LyX14\aiksaurus >>start "LyX" "D:\program\LyX14\bin\lyx.exe" %* No, the current version is e.g.: @echo off SET OUTPUT_CHARSET=cp-1252 SET LANG=de_DE SE

Re: [PATCH] put Gui language definition in lyxrc

2007-01-16 Thread Enrico Forestieri
On Tue, Jan 16, 2007 at 05:27:24PM +0100, Abdelrazak Younes wrote: > Enrico Forestieri wrote: > > On Windows, the Aiksaurus data dir location can be set in the registry: > > HKLM\Software\Aiksaurus\Data_Dir > > The environment variable simply overrides the registry setting. > > Very good then. U

Re: [PATCH] put Gui language definition in lyxrc

2007-01-16 Thread Abdelrazak Younes
Enrico Forestieri wrote: On Tue, Jan 16, 2007 at 04:08:14PM +0100, Abdelrazak Younes wrote: Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Edwin> why not set the language when installing lyx and be done with Edwin> it... This is indeed what we do n

Re: [PATCH] put Gui language definition in lyxrc

2007-01-16 Thread Enrico Forestieri
On Tue, Jan 16, 2007 at 04:08:14PM +0100, Abdelrazak Younes wrote: > Jean-Marc Lasgouttes wrote: > >> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: > > > > Edwin> why not set the language when installing lyx and be done with > > Edwin> it... > >>> This is indeed what we do no

Re: [PATCH] put Gui language definition in lyxrc

2007-01-16 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Edwin> why not set the language when installing lyx and be done with Edwin> it... This is indeed what we do now. Abdelrazak> What do you mean here? The current solution is to create a Abdelrazak> batch

Re: [PATCH] put Gui language definition in lyxrc

2007-01-16 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Edwin> why not set the language when installing lyx and be done with Edwin> it... >> This is indeed what we do now. Abdelrazak> What do you mean here? The current solution is to create a Abdelrazak> batch file that sets LANG bef

Re: [PATCH] put Gui language definition in lyxrc

2007-01-16 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Edwin" == Edwin Leuven <[EMAIL PROTECTED]> writes: Edwin> Jürgen Spitzmüller wrote: Yes (however, OOo is a good example on how to clutter the preferences with all sorts of stuff). Edwin> why not set the language when installing lyx and be done with Edwin> it...

[O-T] Re: [PATCH] put Gui language definition in lyxrc

2007-01-16 Thread christian . ridderstrom
On Tue, 16 Jan 2007, Georg Baum wrote: [EMAIL PROTECTED] wrote: Thanks. If I decide to use it (professionally) I'll have to look into it closer. I recommend interested people monitoring the mailing list (or go through the archives of the last few months), this will be interesting. Good ti

Re: [PATCH] put Gui language definition in lyxrc

2007-01-16 Thread christian . ridderstrom
I think that the ui language should not be settable from inside lyx. I haven't really followed this thread, so I might just repeate what someone else has said. I can think of one reason why normal users might want to be able to temporarily change the language of the UI from within LyX.

Re: [PATCH] put Gui language definition in lyxrc

2007-01-16 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: >> Note that to do that properly, _all_ calls to Buffer::B_ should be >> audited. Abdelrazak> Of course I've done that and I was planning to remove the Abdelrazak> method altogether: Very good! I thought there were more of thes

Re: [PATCH] put Gui language definition in lyxrc

2007-01-16 Thread Edwin Leuven
Jean-Marc Lasgouttes wrote: This is indeed what we do now. Also, considering that we ship 2.5M of translations, we could consider to install only those that people choose. indeed

Re: [PATCH] put Gui language definition in lyxrc

2007-01-16 Thread Jean-Marc Lasgouttes
> "Edwin" == Edwin Leuven <[EMAIL PROTECTED]> writes: Edwin> Jürgen Spitzmüller wrote: >> Yes (however, OOo is a good example on how to clutter the >> preferences with all sorts of stuff). Edwin> why not set the language when installing lyx and be done with Edwin> it... This is indeed what w

Re: [PATCH] put Gui language definition in lyxrc

2007-01-16 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Georg Baum wrote: Am Sonntag, 14. Januar 2007 15:13 schrieb Abdelrazak Younes: The Gui elements uses messages_["GUI"] and the translatable element inside a document (mainly layout items) are

Re: [PATCH] put Gui language definition in lyxrc

2007-01-16 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Georg Baum wrote: >> Am Sonntag, 14. Januar 2007 15:13 schrieb Abdelrazak Younes: >> >>> The Gui elements uses messages_["GUI"] and the translatable >>> element inside a document (mainly layout items) are using >>> me

Re: [PATCH] put Gui language definition in lyxrc

2007-01-16 Thread Georg Baum
Abdelrazak Younes wrote: > OK, forget about it. I am not going to fight for it but let me say that > I think it is useful at least to get rid of the need for the batch file > under windows. If you don't want a dialog, that's OK, it is not really > important. But I think we can put put the setting

Re: [PATCH] put Gui language definition in lyxrc

2007-01-16 Thread Abdelrazak Younes
Edwin Leuven wrote: Jürgen Spitzmüller wrote: Yes (however, OOo is a good example on how to clutter the preferences with all sorts of stuff). why not set the language when installing lyx and be done with it... Yes, we can just put it lyxrc.dist and be done with it. Forget about the dialog.

Re: [PATCH] put Gui language definition in lyxrc

2007-01-16 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Seriously, one can do that in firefox? Tools-> options->Advanced->Languages. Isn't this the language of the web pages? At least on linux this is the only one I have. You're right. Weird, I am sure I

Re: [PATCH] put Gui language definition in lyxrc

2007-01-16 Thread Edwin Leuven
Jürgen Spitzmüller wrote: Yes (however, OOo is a good example on how to clutter the preferences with all sorts of stuff). why not set the language when installing lyx and be done with it...

Re: [PATCH] put Gui language definition in lyxrc

2007-01-16 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: > > Seriously, one can do that in firefox? > > Tools->options->Advanced->Languages. Nope. That is the language of websites (that are available in multiple languages). At least in the Linux version > > How? And in ms word? > > The standard Word version I am not sure but I

Re: [PATCH] put Gui language definition in lyxrc

2007-01-16 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: >> Seriously, one can do that in firefox? Tools-> options->Advanced->Languages. Isn't this the language of the web pages? At least on linux this is the only one I have. >> How? And in ms word? Abdelrazak> The standard Word ve

Re: [PATCH] put Gui language definition in lyxrc

2007-01-16 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> The idea is to allow the user to choose the language via Abdelrazak> the settings if he _choose_ to do so. Abdelrazak> You and Lars and all users that do not need this feature Abdelrazak> can

Re: [PATCH] put Gui language definition in lyxrc

2007-01-16 Thread Abdelrazak Younes
Georg Baum wrote: Am Sonntag, 14. Januar 2007 15:13 schrieb Abdelrazak Younes: The Gui elements uses messages_["GUI"] and the translatable element inside a document (mainly layout items) are using messages_[language] where language is given by the Buffer language. We can change that to use th

Re: [PATCH] put Gui language definition in lyxrc

2007-01-16 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: >> This will also break the linux "locale" theorem. >> >> But, if you switch to ignore the LANG variable: >> >> 1. I prefer to create a command line switch to override the lyxrc >> settings. Abdelrazak> Sure there will be an "

Re: [PATCH] put Gui language definition in lyxrc

2007-01-16 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> The idea is to allow the user to choose the language via Abdelrazak> the settings if he _choose_ to do so. Abdelrazak> You and Lars and all users that do not need this feature Abdelrazak> can simply ignore it. If a b

Re: [PATCH] put Gui language definition in lyxrc

2007-01-16 Thread Abdelrazak Younes
Lars Gullik Bjønnes wrote: Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Objection? Yes. I think this will result in surprising behaviour. 1. Set languag inside lyx to "swedish" (why not?) - save and exit Why would you do that at the first place if you don't like the feature? 2. ru

Re: [PATCH] put Gui language definition in lyxrc

2007-01-16 Thread Abdelrazak Younes
Alex wrote: As a translator I often need to start two LyX session, one using my local language and the other using english. It would be impossible or hard to do this without the LANG variable! The idea is just to allow the setting for those who wants to. It is even possible to have two differ

Re: [PATCH] put Gui language definition in lyxrc

2007-01-16 Thread Georg Baum
[EMAIL PROTECTED] wrote: > Thanks. If I decide to use it (professionally) I'll have to look into it > closer. I recommend interested people monitoring the mailing list (or go through the archives of the last few months), this will be interesting. Georg

Re: [PATCH] put Gui language definition in lyxrc

2007-01-15 Thread christian . ridderstrom
On Mon, 15 Jan 2007, [EMAIL PROTECTED] wrote: Quoting [EMAIL PROTECTED]: On Mon, 15 Jan 2007, [EMAIL PROTECTED] wrote: > > Just one small remark: > Scilab is neither free nor open source software. Um.. why do you say that? (I just downloaded the source and read the license agreement.

Re: [PATCH] put Gui language definition in lyxrc

2007-01-15 Thread jamatos
Quoting [EMAIL PROTECTED]: On Mon, 15 Jan 2007, [EMAIL PROTECTED] wrote: Just one small remark: Scilab is neither free nor open source software. Um.. why do you say that? (I just downloaded the source and read the license agreement. It's not GPL, but seems ok). A simple google search re

Re: [PATCH] put Gui language definition in lyxrc

2007-01-15 Thread christian . ridderstrom
On Mon, 15 Jan 2007, [EMAIL PROTECTED] wrote: On Mon, 15 Jan 2007, [EMAIL PROTECTED] wrote: Quoting Uwe Stöhr <[EMAIL PROTECTED]>: > > But by the way, you can change the language in "Scilab" (the > OpenSource alternative to Mathlab). Scilab is also available for > Linux, so how is thi

Re: [PATCH] put Gui language definition in lyxrc

2007-01-15 Thread christian . ridderstrom
On Mon, 15 Jan 2007, [EMAIL PROTECTED] wrote: Quoting Uwe Stöhr <[EMAIL PROTECTED]>: But by the way, you can change the language in "Scilab" (the OpenSource alternative to Mathlab). Scilab is also available for Linux, so how is this implemented there? JMarc, aren't you an INRIA people and

Re: [PATCH] put Gui language definition in lyxrc

2007-01-15 Thread Uwe Stöhr
Jean-Marc Lasgouttes schrieb: Well, scilab, which is a fine program, is not what I would take as model of a native interface :) I played with it for a few minutes, and I am not able to tell how I could change the language... Use the menu Preferences -> Language, then you can switch between Fre

Re: [PATCH] put Gui language definition in lyxrc

2007-01-15 Thread jamatos
Quoting Uwe Stöhr <[EMAIL PROTECTED]>: But by the way, you can change the language in "Scilab" (the OpenSource alternative to Mathlab). Scilab is also available for Linux, so how is this implemented there? JMarc, aren't you an INRIA people and can perhaps ask a collegue? Just one small remark

Re: [PATCH] put Gui language definition in lyxrc

2007-01-15 Thread Jean-Marc Lasgouttes
> "Uwe" == Uwe Stöhr <[EMAIL PROTECTED]> writes: Uwe> But by the way, you can change the language in "Scilab" (the Uwe> OpenSource alternative to Mathlab). Scilab is also available for Uwe> Linux, so how is this implemented there? JMarc, aren't you an Uwe> INRIA people and can perhaps ask a co

Re: [PATCH] put Gui language definition in lyxrc

2007-01-15 Thread Uwe Stöhr
> Uwe> You have to set the option "Choose at application startup" then > Uwe> you can select different languages when you restart Acrobat. > It seems that it does nothing when only one language is installed. Yes of corse. But by the way, you can change the language in "Scilab" (the OpenSource a

Re: [PATCH] put Gui language definition in lyxrc

2007-01-15 Thread Jean-Marc Lasgouttes
> "Uwe" == Uwe Stöhr <[EMAIL PROTECTED]> writes: Uwe> Afterwards, because our default installation is always in German. I see. The installation is done globally, right? Uwe> Changing the language is for example possible in Acrobat. >> Yes, I've seen that. On my system the choice is between

Re: [PATCH] put Gui language definition in lyxrc

2007-01-15 Thread Uwe Stöhr
Jean-Marc Lasgouttes schrieb: Uwe> This is correct, I see that some of my foreign collegues change Uwe> the menu language of a program if possible, from German to Uwe> English. At install time or afterwards? Afterwards, because our default installation is always in German. Uwe> Changing t

Re: [PATCH] put Gui language definition in lyxrc

2007-01-15 Thread Helge Hafting
Mate Wierdl wrote: On Mon, Jan 15, 2007 at 06:53:30AM -0600, Mate Wierdl wrote: In my case, I write (science stuff) both in Hungarian and English all the time. ... and I often share the account with other people. A typical scenario: a colleague comes to my office, and wants to show me

Re: [PATCH] put Gui language definition in lyxrc

2007-01-15 Thread Jean-Marc Lasgouttes
> "Mate" == Mate Wierdl <[EMAIL PROTECTED]> writes: Mate> On Mon, Jan 15, 2007 at 06:53:30AM -0600, Mate Wierdl wrote: >> In my case, I write (science stuff) both in Hungarian and English >> all the time. Mate> ... and I often share the account with other people. A typical Mate> scenario: a c

Re: [PATCH] put Gui language definition in lyxrc

2007-01-15 Thread Jean-Marc Lasgouttes
> "Mate" == Mate Wierdl <[EMAIL PROTECTED]> writes: Mate> In my case, I write (science stuff) both in Hungarian and Mate> English all the time. But do you need to switch the language of the menus all the time? I also switch between french and english for the documents. JMarc

Re: [PATCH] put Gui language definition in lyxrc

2007-01-15 Thread Mate Wierdl
On Mon, Jan 15, 2007 at 06:53:30AM -0600, Mate Wierdl wrote: > In my case, I write (science stuff) both in Hungarian and English all > the time. ... and I often share the account with other people. A typical scenario: a colleague comes to my office, and wants to show me how a certain thing is don

Re: [PATCH] put Gui language definition in lyxrc

2007-01-15 Thread Mate Wierdl
In my case, I write (science stuff) both in Hungarian and English all the time. Máté On Mon, Jan 15, 2007 at 10:33:01AM +0100, Jean-Marc Lasgouttes wrote: > > "Uwe" == Uwe Stöhr <[EMAIL PROTECTED]> writes: > > Uwe> In my opinion the setting in LyX's preferences should be taken > Uwe> and the

Re: [PATCH] put Gui language definition in lyxrc

2007-01-15 Thread Jean-Marc Lasgouttes
> "Uwe" == Uwe Stöhr <[EMAIL PROTECTED]> writes: Uwe> Jean-Marc Lasgouttes schrieb: >> Where is this setting in word? In firefox? 99% of the users to >> _not_ ever need to change this setting. Uwe> This is correct, I see that some of my foreign collegues change Uwe> the menu language of a pro

Re: [PATCH] put Gui language definition in lyxrc

2007-01-15 Thread Helge Hafting
Georg Baum wrote: Am Sonntag, 14. Januar 2007 19:26 schrieb Enrico Forestieri: This means that when none of the LC_* or LANG variables are set, we are allowed to do how we please. So, the proposal by Abdel could be implemented but only used in this case. As Windows does not set an

Re: [PATCH] put Gui language definition in lyxrc

2007-01-15 Thread Uwe Stöhr
Jean-Marc Lasgouttes schrieb: Where is this setting in word? In firefox? 99% of the users to _not_ ever need to change this setting. This is correct, I see that some of my foreign collegues change the menu language of a program if possible, from German to English. Changing the language is fo

Re: [PATCH] put Gui language definition in lyxrc

2007-01-15 Thread Jean-Marc Lasgouttes
> "Uwe" == Uwe Stöhr <[EMAIL PROTECTED]> writes: Uwe> In my opinion the setting in LyX's preferences should be taken Uwe> and the LANG setting ignored. I would strongly oppose to that in linux. Uwe> This implies that I think it is a nice feature be be able to set Uwe> the language from insi

Re: [PATCH] put Gui language definition in lyxrc

2007-01-15 Thread Alex
Dears, >>> I think this will result in surprising behaviour. >>> >>> 1. Set languag inside lyx to "swedish" (why not?) >>>- save and exit >>> 2. run lyx with LANG=no_NO ./lyx >>>- get a nice swedish lyx >>> >>> I think that the ui language should not be settable from inside lyx. >>> >>

Re: [PATCH] put Gui language definition in lyxrc

2007-01-14 Thread Enrico Forestieri
On Sun, Jan 14, 2007 at 09:04:26PM +0100, Georg Baum wrote: > Am Sonntag, 14. Januar 2007 19:26 schrieb Enrico Forestieri: > > > This means that when none of the LC_* or LANG variables are set, we are > > allowed to do how we please. So, the proposal by Abdel could be > implemented > > but only

Re: [PATCH] put Gui language definition in lyxrc

2007-01-14 Thread Georg Baum
Am Sonntag, 14. Januar 2007 19:26 schrieb Enrico Forestieri: > This means that when none of the LC_* or LANG variables are set, we are > allowed to do how we please. So, the proposal by Abdel could be implemented > but only used in this case. As Windows does not set any of the above > variables,

Re: [PATCH] put Gui language definition in lyxrc

2007-01-14 Thread Enrico Forestieri
On Sun, Jan 14, 2007 at 06:36:52PM +0100, Georg Baum wrote: > What for some users is fiddling is a useful feature for others. I do agree > that the LANG variable is not convenient for most windows users, so an > alternative should be implemented, but the LANG variable should not be > dropped at

Re: [PATCH] put Gui language definition in lyxrc

2007-01-14 Thread Enrico Forestieri
On Sun, Jan 14, 2007 at 05:22:26PM +0100, Michael Gerz wrote: > Lars Gullik Bjønnes schrieb: > > Yes. > > > > I think this will result in surprising behaviour. > > > > 1. Set languag inside lyx to "swedish" (why not?) > >- save and exit > > 2. run lyx with LANG=no_NO ./lyx > >- get a nice

Re: [PATCH] put Gui language definition in lyxrc

2007-01-14 Thread Georg Baum
Am Sonntag, 14. Januar 2007 17:57 schrieb Uwe Stöhr: > In my opinion the setting in LyX's preferences should be taken and the LANG setting ignored. Not ignored. This is standard on unix as Lars wrote, and I don't want to learn a new way of doing this for every program. > This > implies that

Re: [PATCH] put Gui language definition in lyxrc

2007-01-14 Thread Georg Baum
Am Sonntag, 14. Januar 2007 15:13 schrieb Abdelrazak Younes: > The Gui elements uses messages_["GUI"] and the translatable element > inside a document (mainly layout items) are using messages_[language] > where language is given by the Buffer language. We can change that to > use the Paragraph

Re: [PATCH] put Gui language definition in lyxrc

2007-01-14 Thread Uwe Stöhr
Michael Gerz schrieb: Lars Gullik Bjønnes schrieb: I think this will result in surprising behaviour. 1. Set languag inside lyx to "swedish" (why not?) - save and exit 2. run lyx with LANG=no_NO ./lyx - get a nice swedish lyx I think that the ui language should not be settable from insi

Re: [PATCH] put Gui language definition in lyxrc

2007-01-14 Thread Lars Gullik Bjønnes
Michael Gerz <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes schrieb: | > Yes. | > | > I think this will result in surprising behaviour. | > | > 1. Set languag inside lyx to "swedish" (why not?) | >- save and exit | > 2. run lyx with LANG=no_NO ./lyx | >- get a nice swedish lyx | > | > I

Re: [PATCH] put Gui language definition in lyxrc

2007-01-14 Thread Michael Gerz
Lars Gullik Bjønnes schrieb: Yes. I think this will result in surprising behaviour. 1. Set languag inside lyx to "swedish" (why not?) - save and exit 2. run lyx with LANG=no_NO ./lyx - get a nice swedish lyx I think that the ui language should not be settable from inside lyx. Well, w

Re: [PATCH] put Gui language definition in lyxrc

2007-01-14 Thread Lars Gullik Bjønnes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Hello, | | The attached patch allow to set the language used in the GUI via the | the lyxrc mechanism. If the new 'gui_language' setting is empty or non | present, the language will be taken from the environment variables as | usual. | | With this

Re: [PATCH] put Gui language definition in lyxrc

2007-01-14 Thread Abdelrazak Younes
Michael Gerz wrote: Abdelrazak Younes schrieb: Hello, The attached patch allow to set the language used in the GUI via the the lyxrc mechanism. If the new 'gui_language' setting is empty or non present, the language will be taken from the environment variables as usual. With this patch it

Re: [PATCH] put Gui language definition in lyxrc

2007-01-14 Thread Michael Gerz
Abdelrazak Younes schrieb: Hello, The attached patch allow to set the language used in the GUI via the the lyxrc mechanism. If the new 'gui_language' setting is empty or non present, the language will be taken from the environment variables as usual. With this patch it is now possible the G

[PATCH] put Gui language definition in lyxrc

2007-01-14 Thread Abdelrazak Younes
Hello, The attached patch allow to set the language used in the GUI via the the lyxrc mechanism. If the new 'gui_language' setting is empty or non present, the language will be taken from the environment variables as usual. With this patch it is now possible the GUI language at run time and w