Changing LyX language

2013-07-22 Thread Alexandre de S. Thiago Lemke

Hi,

I'm a new LyX user and I am having a little problem: my system is in 
Brazilian Portuguese, but I want LyX to be in English.


I'm using Mac OS X 10.8.4 and LyX 2.0.6.

Language configuration (Configuração de Língua) does not work. 
Everything I found on Google is for old version or Windows and Linux.


I don't want to change dictionary or anything like that, all my 
documents are in BP.


Thank you very much,
Alexandre Lemke


Re: Changing LyX language

2013-07-22 Thread Alexandre de S. Thiago Lemke

Thanks, Scott,

After locale -a, I run

dawkins:~ alexandre$ LANG=en_US lyx
-bash: lyx: command not found

Have no idea how to call LyX on terminal. It was a drag'n'drop install.


Em Mon Jul 22 05:15:58 2013, Scott Kostyshak escreveu:

On Mon, Jul 22, 2013 at 4:06 AM, Alexandre de S. Thiago Lemke
alexandre.le...@gmail.com wrote:

Hi,

I'm a new LyX user and I am having a little problem: my system is in
Brazilian Portuguese, but I want LyX to be in English.

I'm using Mac OS X 10.8.4 and LyX 2.0.6.

Language configuration (Configuração de Língua) does not work. Everything I
found on Google is for old version or Windows and Linux.

I don't want to change dictionary or anything like that, all my documents
are in BP.


Hi Alexandre,

The following works for me on Ubuntu (I think it should work on Mac).
Run the command
   locale -a
Then locate the language-country combination you want (for me, it
shows as 'en_US.utf8' in the output), and then run the following
command:
   LANG=en_US.utf8 lyx

Best,

Scott





Fwd: Changing LyX language

2013-07-22 Thread Alexandre de S Thiago Lemke
Am Montag 22 Juli 2013, 04:15:58 schrieb Scott Kostyshak:
 You should also be able to set the GUI language permanently in Tools 
 Preferences  Language Settings  Language  User interface language.

 Jürgen

Don't do a thing.

Actually, there is no Preferences in Tools, probably because it's Mac.
I went to LyX  Preferences  etc


 Alexandre Lemke


Re: Changing LyX language

2013-07-22 Thread Alexandre de S Thiago Lemke
Yes.




2013/7/22 Scott Kostyshak skost...@princeton.edu

 On Mon, Jul 22, 2013 at 4:55 AM, Alexandre de S Thiago Lemke
 alexandre.le...@gmail.com wrote:
 
  Am Montag 22 Juli 2013, 04:15:58 schrieb Scott Kostyshak:
  You should also be able to set the GUI language permanently in Tools 
  Preferences  Language Settings  Language  User interface language.
 
  Jürgen
 
  Don't do a thing.
 
  Actually, there is no Preferences in Tools, probably because it's Mac. I
  went to LyX  Preferences  etc

 After changing to English, did you restart?

 Scott



Re: Changing LyX language

2013-07-22 Thread Alexandre de S Thiago Lemke
I got it.

I went to ~/Application/Lyx.app/Contents/MacOS/

and run

LANG=en_US ./lyx

and worked :]

I have to do it every time I launch it, but is good enough.

Thanks,
Lemke


2013/7/22 Scott Kostyshak skost...@princeton.edu

 On Mon, Jul 22, 2013 at 4:29 AM, Alexandre de S. Thiago Lemke
 alexandre.le...@gmail.com wrote:
  Thanks, Scott,
 
  After locale -a, I run
 
  dawkins:~ alexandre$ LANG=en_US lyx
  -bash: lyx: command not found
 
  Have no idea how to call LyX on terminal. It was a drag'n'drop install.

 I don't know much about Macs. You could try running LyX the normal
 way, and then viewing processes to see what the command is that's
 being run. There's probably some Mac utility that does this. Or run
 ps aux | grep -i lyx

 Scott



Re: Changing LyX language

2013-07-22 Thread Alexandre de S. Thiago Lemke

Em Mon Jul 22 13:40:14 2013, Stephan Witt escreveu:


Am 22.07.2013 um 11:12 schrieb Alexandre de S Thiago Lemke 
alexandre.le...@gmail.com:




I got it.

I went to ~/Application/Lyx.app/Contents/MacOS/

and run

LANG=en_US ./lyx

and worked :]

I have to do it every time I launch it, but is good enough.



This shouldn't be necessary.
You have two different types of language:

1) The interface language
You change this within the preferences.
Like every other Mac application you reach it with Command+,
There it's in Language Settings.

2) The document language
This is the language for text formatting and spell checking.
A document doesn't have to be written mono-lingual. You may
assign parts of it a different language. The language passed
to the spell checker corresponds to the text language.
To make a language the default document language create an
empty document, change the document language to your favorite
one and save this as document defaults.

The LyX application for Mac comes with all languages we have
dictionaries and translations for.

Regards,
Stephan


How can I reach it? Shortcut is incomplete.

I will file a bug later.

Thanks,
Lemke


Re: Changing LyX language

2013-07-22 Thread Alexandre de S. Thiago Lemke

Em 22/07/13 18:47, Stephan Witt escreveu:

Am 22.07.2013 um 22:59 schrieb Alexandre de S. Thiago Lemke 
alexandre.le...@gmail.com:


Em Mon Jul 22 13:40:14 2013, Stephan Witt escreveu:

Am 22.07.2013 um 11:12 schrieb Alexandre de S Thiago Lemke 
alexandre.le...@gmail.com:


I got it.

I went to ~/Application/Lyx.app/Contents/MacOS/

and run

LANG=en_US ./lyx

and worked :]

I have to do it every time I launch it, but is good enough.


This shouldn't be necessary.
You have two different types of language:

1) The interface language
You change this within the preferences.
Like every other Mac application you reach it with Command+,
There it's in Language Settings.

2) The document language
This is the language for text formatting and spell checking.
A document doesn't have to be written mono-lingual. You may
assign parts of it a different language. The language passed
to the spell checker corresponds to the text language.
To make a language the default document language create an
empty document, change the document language to your favorite
one and save this as document defaults.

The LyX application for Mac comes with all languages we have
dictionaries and translations for.

Regards,
Stephan


How can I reach it? Shortcut is incomplete.

You can reach the global preferences panel with:
Press and hold Command (Cmd) key and then comma (,)

What do you think is incomplete?
I tried this with brazilian keyboard and it worked.

The change of GUI language has to be saved,
the apply button doesn't work in this case.

I tried it with portuguese language environment for
a test user. I changed the GUI language to inglés,
saved it, restarted LyX and got the english interface.
I doubt that there is any difference between inglés
and inglés (UK) for the GUI, but this is better
than nothing. :)

Regards,
Stephan
Oh! I was hitting apply. LyX only have European Portuguese and the EP 
and BP words for save are different. I totally miss the button.


Now everything is working fine. There was no bug, just idiomatic misleading.

Thank you very much,
Lemke


Changing LyX language

2013-07-22 Thread Alexandre de S. Thiago Lemke

Hi,

I'm a new LyX user and I am having a little problem: my system is in 
Brazilian Portuguese, but I want LyX to be in English.


I'm using Mac OS X 10.8.4 and LyX 2.0.6.

Language configuration (Configuração de Língua) does not work. 
Everything I found on Google is for old version or Windows and Linux.


I don't want to change dictionary or anything like that, all my 
documents are in BP.


Thank you very much,
Alexandre Lemke


Re: Changing LyX language

2013-07-22 Thread Alexandre de S. Thiago Lemke

Thanks, Scott,

After locale -a, I run

dawkins:~ alexandre$ LANG=en_US lyx
-bash: lyx: command not found

Have no idea how to call LyX on terminal. It was a drag'n'drop install.


Em Mon Jul 22 05:15:58 2013, Scott Kostyshak escreveu:

On Mon, Jul 22, 2013 at 4:06 AM, Alexandre de S. Thiago Lemke
alexandre.le...@gmail.com wrote:

Hi,

I'm a new LyX user and I am having a little problem: my system is in
Brazilian Portuguese, but I want LyX to be in English.

I'm using Mac OS X 10.8.4 and LyX 2.0.6.

Language configuration (Configuração de Língua) does not work. Everything I
found on Google is for old version or Windows and Linux.

I don't want to change dictionary or anything like that, all my documents
are in BP.


Hi Alexandre,

The following works for me on Ubuntu (I think it should work on Mac).
Run the command
   locale -a
Then locate the language-country combination you want (for me, it
shows as 'en_US.utf8' in the output), and then run the following
command:
   LANG=en_US.utf8 lyx

Best,

Scott





Fwd: Changing LyX language

2013-07-22 Thread Alexandre de S Thiago Lemke
Am Montag 22 Juli 2013, 04:15:58 schrieb Scott Kostyshak:
 You should also be able to set the GUI language permanently in Tools 
 Preferences  Language Settings  Language  User interface language.

 Jürgen

Don't do a thing.

Actually, there is no Preferences in Tools, probably because it's Mac.
I went to LyX  Preferences  etc


 Alexandre Lemke


Re: Changing LyX language

2013-07-22 Thread Alexandre de S Thiago Lemke
Yes.




2013/7/22 Scott Kostyshak skost...@princeton.edu

 On Mon, Jul 22, 2013 at 4:55 AM, Alexandre de S Thiago Lemke
 alexandre.le...@gmail.com wrote:
 
  Am Montag 22 Juli 2013, 04:15:58 schrieb Scott Kostyshak:
  You should also be able to set the GUI language permanently in Tools 
  Preferences  Language Settings  Language  User interface language.
 
  Jürgen
 
  Don't do a thing.
 
  Actually, there is no Preferences in Tools, probably because it's Mac. I
  went to LyX  Preferences  etc

 After changing to English, did you restart?

 Scott



Re: Changing LyX language

2013-07-22 Thread Alexandre de S Thiago Lemke
I got it.

I went to ~/Application/Lyx.app/Contents/MacOS/

and run

LANG=en_US ./lyx

and worked :]

I have to do it every time I launch it, but is good enough.

Thanks,
Lemke


2013/7/22 Scott Kostyshak skost...@princeton.edu

 On Mon, Jul 22, 2013 at 4:29 AM, Alexandre de S. Thiago Lemke
 alexandre.le...@gmail.com wrote:
  Thanks, Scott,
 
  After locale -a, I run
 
  dawkins:~ alexandre$ LANG=en_US lyx
  -bash: lyx: command not found
 
  Have no idea how to call LyX on terminal. It was a drag'n'drop install.

 I don't know much about Macs. You could try running LyX the normal
 way, and then viewing processes to see what the command is that's
 being run. There's probably some Mac utility that does this. Or run
 ps aux | grep -i lyx

 Scott



Re: Changing LyX language

2013-07-22 Thread Alexandre de S. Thiago Lemke

Em Mon Jul 22 13:40:14 2013, Stephan Witt escreveu:


Am 22.07.2013 um 11:12 schrieb Alexandre de S Thiago Lemke 
alexandre.le...@gmail.com:




I got it.

I went to ~/Application/Lyx.app/Contents/MacOS/

and run

LANG=en_US ./lyx

and worked :]

I have to do it every time I launch it, but is good enough.



This shouldn't be necessary.
You have two different types of language:

1) The interface language
You change this within the preferences.
Like every other Mac application you reach it with Command+,
There it's in Language Settings.

2) The document language
This is the language for text formatting and spell checking.
A document doesn't have to be written mono-lingual. You may
assign parts of it a different language. The language passed
to the spell checker corresponds to the text language.
To make a language the default document language create an
empty document, change the document language to your favorite
one and save this as document defaults.

The LyX application for Mac comes with all languages we have
dictionaries and translations for.

Regards,
Stephan


How can I reach it? Shortcut is incomplete.

I will file a bug later.

Thanks,
Lemke


Re: Changing LyX language

2013-07-22 Thread Alexandre de S. Thiago Lemke

Em 22/07/13 18:47, Stephan Witt escreveu:

Am 22.07.2013 um 22:59 schrieb Alexandre de S. Thiago Lemke 
alexandre.le...@gmail.com:


Em Mon Jul 22 13:40:14 2013, Stephan Witt escreveu:

Am 22.07.2013 um 11:12 schrieb Alexandre de S Thiago Lemke 
alexandre.le...@gmail.com:


I got it.

I went to ~/Application/Lyx.app/Contents/MacOS/

and run

LANG=en_US ./lyx

and worked :]

I have to do it every time I launch it, but is good enough.


This shouldn't be necessary.
You have two different types of language:

1) The interface language
You change this within the preferences.
Like every other Mac application you reach it with Command+,
There it's in Language Settings.

2) The document language
This is the language for text formatting and spell checking.
A document doesn't have to be written mono-lingual. You may
assign parts of it a different language. The language passed
to the spell checker corresponds to the text language.
To make a language the default document language create an
empty document, change the document language to your favorite
one and save this as document defaults.

The LyX application for Mac comes with all languages we have
dictionaries and translations for.

Regards,
Stephan


How can I reach it? Shortcut is incomplete.

You can reach the global preferences panel with:
Press and hold Command (Cmd) key and then comma (,)

What do you think is incomplete?
I tried this with brazilian keyboard and it worked.

The change of GUI language has to be saved,
the apply button doesn't work in this case.

I tried it with portuguese language environment for
a test user. I changed the GUI language to inglés,
saved it, restarted LyX and got the english interface.
I doubt that there is any difference between inglés
and inglés (UK) for the GUI, but this is better
than nothing. :)

Regards,
Stephan
Oh! I was hitting apply. LyX only have European Portuguese and the EP 
and BP words for save are different. I totally miss the button.


Now everything is working fine. There was no bug, just idiomatic misleading.

Thank you very much,
Lemke


Changing LyX language

2013-07-22 Thread Alexandre de S. Thiago Lemke

Hi,

I'm a new LyX user and I am having a little problem: my system is in 
Brazilian Portuguese, but I want LyX to be in English.


I'm using Mac OS X 10.8.4 and LyX 2.0.6.

Language configuration (Configuração de Língua) does not work. 
Everything I found on Google is for old version or Windows and Linux.


I don't want to change dictionary or anything like that, all my 
documents are in BP.


Thank you very much,
Alexandre Lemke


Re: Changing LyX language

2013-07-22 Thread Alexandre de S. Thiago Lemke

Thanks, Scott,

After locale -a, I run

dawkins:~ alexandre$ LANG=en_US lyx
-bash: lyx: command not found

Have no idea how to call LyX on terminal. It was a drag'n'drop install.


Em Mon Jul 22 05:15:58 2013, Scott Kostyshak escreveu:

On Mon, Jul 22, 2013 at 4:06 AM, Alexandre de S. Thiago Lemke
<alexandre.le...@gmail.com> wrote:

Hi,

I'm a new LyX user and I am having a little problem: my system is in
Brazilian Portuguese, but I want LyX to be in English.

I'm using Mac OS X 10.8.4 and LyX 2.0.6.

Language configuration (Configuração de Língua) does not work. Everything I
found on Google is for old version or Windows and Linux.

I don't want to change dictionary or anything like that, all my documents
are in BP.


Hi Alexandre,

The following works for me on Ubuntu (I think it should work on Mac).
Run the command
   locale -a
Then locate the language-country combination you want (for me, it
shows as 'en_US.utf8' in the output), and then run the following
command:
   LANG=en_US.utf8 lyx

Best,

Scott





Fwd: Changing LyX language

2013-07-22 Thread Alexandre de S Thiago Lemke
Am Montag 22 Juli 2013, 04:15:58 schrieb Scott Kostyshak:
> You should also be able to set the GUI language permanently in Tools >
> Preferences > Language Settings > Language > User interface language.
>
> Jürgen

Don't do a thing.

Actually, there is no Preferences in Tools, probably because it's Mac.
I went to LyX > Preferences > etc


 Alexandre Lemke


Re: Changing LyX language

2013-07-22 Thread Alexandre de S Thiago Lemke
Yes.




2013/7/22 Scott Kostyshak <skost...@princeton.edu>

> On Mon, Jul 22, 2013 at 4:55 AM, Alexandre de S Thiago Lemke
> <alexandre.le...@gmail.com> wrote:
> >
> > Am Montag 22 Juli 2013, 04:15:58 schrieb Scott Kostyshak:
> >> You should also be able to set the GUI language permanently in Tools >
> >> Preferences > Language Settings > Language > User interface language.
> >>
> >> Jürgen
> >
> > Don't do a thing.
> >
> > Actually, there is no Preferences in Tools, probably because it's Mac. I
> > went to LyX > Preferences > etc
>
> After changing to English, did you restart?
>
> Scott
>


Re: Changing LyX language

2013-07-22 Thread Alexandre de S Thiago Lemke
I got it.

I went to ~/Application/Lyx.app/Contents/MacOS/

and run

LANG=en_US ./lyx

and worked :]

I have to do it every time I launch it, but is good enough.

Thanks,
Lemke


2013/7/22 Scott Kostyshak <skost...@princeton.edu>

> On Mon, Jul 22, 2013 at 4:29 AM, Alexandre de S. Thiago Lemke
> <alexandre.le...@gmail.com> wrote:
> > Thanks, Scott,
> >
> > After locale -a, I run
> >
> > dawkins:~ alexandre$ LANG=en_US lyx
> > -bash: lyx: command not found
> >
> > Have no idea how to call LyX on terminal. It was a drag'n'drop install.
>
> I don't know much about Macs. You could try running LyX the normal
> way, and then viewing processes to see what the command is that's
> being run. There's probably some Mac utility that does this. Or run
> "ps aux | grep -i lyx"
>
> Scott
>


Re: Changing LyX language

2013-07-22 Thread Alexandre de S. Thiago Lemke

Em Mon Jul 22 13:40:14 2013, Stephan Witt escreveu:


Am 22.07.2013 um 11:12 schrieb Alexandre de S Thiago Lemke 
<alexandre.le...@gmail.com>:




I got it.

I went to ~/Application/Lyx.app/Contents/MacOS/

and run

LANG=en_US ./lyx

and worked :]

I have to do it every time I launch it, but is good enough.



This shouldn't be necessary.
You have two different types of language:

1) The interface language
You change this within the preferences.
Like every other Mac application you reach it with Command+,
There it's in Language Settings.

2) The document language
This is the language for text formatting and spell checking.
A document doesn't have to be written mono-lingual. You may
assign parts of it a different language. The language passed
to the spell checker corresponds to the text language.
To make a language the default document language create an
empty document, change the document language to your favorite
one and save this as document defaults.

The LyX application for Mac comes with all languages we have
dictionaries and translations for.

Regards,
Stephan


How can I reach it? Shortcut is incomplete.

I will file a bug later.

Thanks,
Lemke


Re: Changing LyX language

2013-07-22 Thread Alexandre de S. Thiago Lemke

Em 22/07/13 18:47, Stephan Witt escreveu:

Am 22.07.2013 um 22:59 schrieb Alexandre de S. Thiago Lemke 
<alexandre.le...@gmail.com>:


Em Mon Jul 22 13:40:14 2013, Stephan Witt escreveu:

Am 22.07.2013 um 11:12 schrieb Alexandre de S Thiago Lemke 
<alexandre.le...@gmail.com>:


I got it.

I went to ~/Application/Lyx.app/Contents/MacOS/

and run

LANG=en_US ./lyx

and worked :]

I have to do it every time I launch it, but is good enough.


This shouldn't be necessary.
You have two different types of language:

1) The interface language
You change this within the preferences.
Like every other Mac application you reach it with Command+,
There it's in Language Settings.

2) The document language
This is the language for text formatting and spell checking.
A document doesn't have to be written mono-lingual. You may
assign parts of it a different language. The language passed
to the spell checker corresponds to the text language.
To make a language the default document language create an
empty document, change the document language to your favorite
one and save this as document defaults.

The LyX application for Mac comes with all languages we have
dictionaries and translations for.

Regards,
Stephan


How can I reach it? Shortcut is incomplete.

You can reach the global preferences panel with:
Press and hold Command (Cmd) key and then comma (,)

What do you think is incomplete?
I tried this with brazilian keyboard and it worked.

The change of GUI language has to be saved,
the apply button doesn't work in this case.

I tried it with portuguese language environment for
a test user. I changed the GUI language to "inglés",
saved it, restarted LyX and got the english interface.
I doubt that there is any difference between "inglés"
and "inglés (UK)" for the GUI, but this is better
than nothing. :)

Regards,
Stephan
Oh! I was hitting apply. LyX only have European Portuguese and the EP 
and BP words for "save" are different. I totally miss the button.


Now everything is working fine. There was no bug, just idiomatic misleading.

Thank you very much,
Lemke