Re: PO files FAQ

2007-03-05 Thread Ramon Flores
Hi,

I think it is a very good idea to write this FAQ, and to put it in the wiki.

So I would like to make some comments:

1) Not always LANG variable works. Sometimes is necessary to use another 
variable. For example with Mandriva 2006 with KDE you need to use KDE_LANG, 
and with Mandriva 2007, and KDE, it is necessary to use LC_ALL. Ex:
  a) KDE_LANG=xx_CC lyx
  b) LC_ALL=xx_CC lyx

2) In order to test the translation it is necessary to test if the language 
use to make the translation is accepted by lyx. I.e. if the language is in 
the text file languages.

3) If the language used to make the translation is in the text 
file languages, it is not necessary to compile lyx. In this case is enough 
to compile the po file, with the command msgfmt that is part of the gettext 
packet.
http://www.gnu.org/software/gettext/manual/html_mono/gettext.html
http://gnuwin32.sourceforge.net/packages/gettext.htm


Bye
Ramon





Re: PO files FAQ

2007-03-05 Thread Pavel Sanda
 I think it is a very good idea to write this FAQ, and to put it in the wiki.
 
 So I would like to make some comments:

the best would be if you get file from svn 
http://www.lyx.org/trac/browser/lyx-devel/trunk/README.localization
and write the patch with your comments against that file.

i was looking in wiki and the file is little obsolete there.
somebody wrote, that this page should be generated from
the current version in svn, however actually it is not.

pavel


Re: PO files FAQ

2007-03-05 Thread christian . ridderstrom

On Mon, 5 Mar 2007, Pavel Sanda wrote:


I think it is a very good idea to write this FAQ, and to put it in the wiki.

So I would like to make some comments:


the best would be if you get file from svn
http://www.lyx.org/trac/browser/lyx-devel/trunk/README.localization
and write the patch with your comments against that file.

i was looking in wiki and the file is little obsolete there. somebody 
wrote, that this page should be generated from the current version in 
svn, however actually it is not.


What page?   It's possible to automatically have the wiki page embed 
something from SVN.


/C

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: PO files FAQ

2007-03-05 Thread Pavel Sanda
 What page?   It's possible to automatically have the wiki page embed 
 something from SVN.

http://wiki.lyx.org/Devel/POFAQ

pavel


Re: PO files FAQ

2007-03-05 Thread Georg Baum
Am Montag, 5. März 2007 20:34 schrieb Ramon Flores:
 Hi,
 
 I think it is a very good idea to write this FAQ, and to put it in the 
wiki.

That would be the fourth place where this is documented. Please have a look 
at this bug: http://bugzilla.lyx.org/show_bug.cgi?id=3314

 So I would like to make some comments:
 
 1) Not always LANG variable works. Sometimes is necessary to use another 
 variable. For example with Mandriva 2006 with KDE you need to use 
KDE_LANG, 
 and with Mandriva 2007, and KDE, it is necessary to use LC_ALL. Ex:
   a) KDE_LANG=xx_CC lyx
   b) LC_ALL=xx_CC lyx

That should be filed as a mandriva bug. It should not be needed to set 
KDE_LANG. Only setting LANG (or LC_MESSAGES or LC_ALL) should work.


Georg



Re: PO files FAQ

2007-03-05 Thread christian . ridderstrom

On Mon, 5 Mar 2007, Pavel Sanda wrote:


What page?   It's possible to automatically have the wiki page embed
something from SVN.


http://wiki.lyx.org/Devel/POFAQ


I added this code to the wiki page

white-space=pre background-color=#ee
(:includesvn README.localization :)


The wiki page now embeds the latest version from SVN.

/C

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

[LyX wiki] recent notify posts

2007-03-05 Thread Apache

All recent posts: http://wiki.lyx.org/Site/AllRecentChanges

* http://wiki.lyx.org/LyX.FeaturePoll . . . 2007-03-05 16:09 CET by Sam Lewis
* http://wiki.lyx.org/LyX.FeaturePoll . . . 2007-03-05 16:13 CET by Sam Lewis
* http://wiki.lyx.org/LyX.FeaturePoll . . . 2007-03-05 16:14 CET by Sam Lewis
* http://wiki.lyx.org/LyX.FeaturePoll . . . 2007-03-05 16:35 CET by Sam Lewis
* http://wiki.lyx.org/LyX.FeaturePoll . . . 2007-03-05 16:42 CET by Sam Lewis
* http://wiki.lyx.org/LyX.FeaturePoll . . . 2007-03-05 16:53 CET by Sam Lewis
* http://wiki.lyx.org/LyX.FeaturePoll . . . 2007-03-05 17:16 CET by Sam Lewis
* http://wiki.lyx.org/LyX.Complaints . . . 2007-03-05 17:21 CET by Sam Lewis
* http://wiki.lyx.org/Devel.GSoC2007 . . . 2007-03-05 19:44 CET by James Wilson
* http://wiki.lyx.org/LyX.LyXServer . . . 2007-03-05 20:49 CET by Sigve
* http://wiki.lyx.org/Devel.POFAQ . . . 2007-03-05 21:48 CET by chr
* http://wiki.lyx.org/LyX.Complaints . . . 2007-03-05 22:44 CET by Sam Lewis
* http://wiki.lyx.org/LyX.FeaturePoll . . . 2007-03-05 23:02 CET by Sam Lewis
* http://wiki.lyx.org/LyX.Complaints . . . 2007-03-05 23:09 CET by Sam Lewis



Re: PO files FAQ

2007-03-05 Thread Ramon Flores
Hi,

I think it is a very good idea to write this FAQ, and to put it in the wiki.

So I would like to make some comments:

1) Not always LANG variable works. Sometimes is necessary to use another 
variable. For example with Mandriva 2006 with KDE you need to use KDE_LANG, 
and with Mandriva 2007, and KDE, it is necessary to use LC_ALL. Ex:
  a) KDE_LANG=xx_CC lyx
  b) LC_ALL=xx_CC lyx

2) In order to test the translation it is necessary to test if the language 
use to make the translation is accepted by lyx. I.e. if the language is in 
the text file "languages".

3) If the language used to make the translation is in the text 
file "languages", it is not necessary to compile lyx. In this case is enough 
to compile the po file, with the command "msgfmt" that is part of the gettext 
packet.
http://www.gnu.org/software/gettext/manual/html_mono/gettext.html
http://gnuwin32.sourceforge.net/packages/gettext.htm


Bye
Ramon





Re: PO files FAQ

2007-03-05 Thread Pavel Sanda
> I think it is a very good idea to write this FAQ, and to put it in the wiki.
> 
> So I would like to make some comments:

the best would be if you get file from svn 
http://www.lyx.org/trac/browser/lyx-devel/trunk/README.localization
and write the patch with your comments against that file.

i was looking in wiki and the file is little obsolete there.
somebody wrote, that this page should be generated from
the current version in svn, however actually it is not.

pavel


Re: PO files FAQ

2007-03-05 Thread christian . ridderstrom

On Mon, 5 Mar 2007, Pavel Sanda wrote:


I think it is a very good idea to write this FAQ, and to put it in the wiki.

So I would like to make some comments:


the best would be if you get file from svn
http://www.lyx.org/trac/browser/lyx-devel/trunk/README.localization
and write the patch with your comments against that file.

i was looking in wiki and the file is little obsolete there. somebody 
wrote, that this page should be generated from the current version in 
svn, however actually it is not.


What page?   It's possible to automatically have the wiki page embed 
something from SVN.


/C

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: PO files FAQ

2007-03-05 Thread Pavel Sanda
> What page?   It's possible to automatically have the wiki page embed 
> something from SVN.

http://wiki.lyx.org/Devel/POFAQ

pavel


Re: PO files FAQ

2007-03-05 Thread Georg Baum
Am Montag, 5. März 2007 20:34 schrieb Ramon Flores:
> Hi,
> 
> I think it is a very good idea to write this FAQ, and to put it in the 
wiki.

That would be the fourth place where this is documented. Please have a look 
at this bug: http://bugzilla.lyx.org/show_bug.cgi?id=3314

> So I would like to make some comments:
> 
> 1) Not always LANG variable works. Sometimes is necessary to use another 
> variable. For example with Mandriva 2006 with KDE you need to use 
KDE_LANG, 
> and with Mandriva 2007, and KDE, it is necessary to use LC_ALL. Ex:
>   a) KDE_LANG=xx_CC lyx
>   b) LC_ALL=xx_CC lyx

That should be filed as a mandriva bug. It should not be needed to set 
KDE_LANG. Only setting LANG (or LC_MESSAGES or LC_ALL) should work.


Georg



Re: PO files FAQ

2007-03-05 Thread christian . ridderstrom

On Mon, 5 Mar 2007, Pavel Sanda wrote:


What page?   It's possible to automatically have the wiki page embed
something from SVN.


http://wiki.lyx.org/Devel/POFAQ


I added this code to the wiki page

>>white-space=pre background-color=#ee<<
(:includesvn README.localization :)
>><<

The wiki page now embeds the latest version from SVN.

/C

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

[LyX wiki] recent notify posts

2007-03-05 Thread Apache

All recent posts: http://wiki.lyx.org/Site/AllRecentChanges

* http://wiki.lyx.org/LyX.FeaturePoll . . . 2007-03-05 16:09 CET by Sam Lewis
* http://wiki.lyx.org/LyX.FeaturePoll . . . 2007-03-05 16:13 CET by Sam Lewis
* http://wiki.lyx.org/LyX.FeaturePoll . . . 2007-03-05 16:14 CET by Sam Lewis
* http://wiki.lyx.org/LyX.FeaturePoll . . . 2007-03-05 16:35 CET by Sam Lewis
* http://wiki.lyx.org/LyX.FeaturePoll . . . 2007-03-05 16:42 CET by Sam Lewis
* http://wiki.lyx.org/LyX.FeaturePoll . . . 2007-03-05 16:53 CET by Sam Lewis
* http://wiki.lyx.org/LyX.FeaturePoll . . . 2007-03-05 17:16 CET by Sam Lewis
* http://wiki.lyx.org/LyX.Complaints . . . 2007-03-05 17:21 CET by Sam Lewis
* http://wiki.lyx.org/Devel.GSoC2007 . . . 2007-03-05 19:44 CET by James Wilson
* http://wiki.lyx.org/LyX.LyXServer . . . 2007-03-05 20:49 CET by Sigve
* http://wiki.lyx.org/Devel.POFAQ . . . 2007-03-05 21:48 CET by chr
* http://wiki.lyx.org/LyX.Complaints . . . 2007-03-05 22:44 CET by Sam Lewis
* http://wiki.lyx.org/LyX.FeaturePoll . . . 2007-03-05 23:02 CET by Sam Lewis
* http://wiki.lyx.org/LyX.Complaints . . . 2007-03-05 23:09 CET by Sam Lewis