Re: Adding new language for i18n

2008-04-25 Thread Chatchai Neanudorn
Thanks for opening a ticket. Regards 2008/4/25 TMihai Damian <[EMAIL PROTECTED]>: > > Ticket opened here: > > http://code.djangoproject.com/ticket/7084 > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

Re: Adding new language for i18n

2008-04-25 Thread Mihai Damian
Ticket opened here: http://code.djangoproject.com/ticket/7084 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe fr

Re: Adding new language for i18n

2008-04-24 Thread Ramiro Morales
On Thu, Apr 24, 2008 at 4:07 PM, Mihai Damian <[EMAIL PROTECTED]> wrote: > > So new lines on blocktrans tags get a \r\n on Windows as opposed to > just \n on Linux. That's what's causing the whole problem. Maybe the > make-messages.py could be modified to check if os.name is nt or os2 > and if

Re: Adding new language for i18n

2008-04-24 Thread Mihai Damian
So new lines on blocktrans tags get a \r\n on Windows as opposed to just \n on Linux. That's what's causing the whole problem. Maybe the make-messages.py could be modified to check if os.name is nt or os2 and if so read the target file, replace \r with '', write the new content to a temporary file

Re: Adding new language for i18n

2008-04-24 Thread Chatchai Neanudorn
Yes, it seem to be problem only on Window environment. I asked my friend to run command under Linux. It works fine. Cheers. Chatchai 2008/4/24 Mihai Damian <[EMAIL PROTECTED]>: > > Not shure yet but this could be a Windows only issue. I'll get back > later with some tests. > > > --~--~---

Re: Adding new language for i18n

2008-04-24 Thread Mihai Damian
Not shure yet but this could be a Windows only issue. I'll get back later with some tests. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@google

Re: Adding new language for i18n

2008-04-24 Thread Mihai Damian
Hi, I'm also trying to update the .po for Romanian. I was runing make- messages.py -l ro to update the .po and got the same error as chatchai. I presume this is a bug in bookmarklets.html, right? Thanks Mihai --~--~-~--~~~---~--~~ You received this message becau

Re: Adding new language for i18n

2008-04-15 Thread chatchai
Hi, Malcolm, I added settings and it didn't work so I force it... :D For now, I try to completely start adding new language by executing make-messages.py -l th under django path. I got this error, C:\Python25\Lib\site-packages\django>make-messages.py -l th processing language th errors happened

Re: Adding new language for i18n

2008-04-15 Thread Malcolm Tredinnick
On Tue, 2008-04-15 at 08:08 -0700, [EMAIL PROTECTED] wrote: > I did wrong about po file path. I'm trying to copy a working language > and edit po file and re-compile. > > For now, still cannot see the sign. Note that your language code ("th") must also be in the LANGUAGES settings list. Normall

Re: Adding new language for i18n

2008-04-15 Thread meledictas
I did wrong about po file path. I'm trying to copy a working language and edit po file and re-compile. For now, still cannot see the sign. Thank for your comment, anyway. On Apr 15, 9:35 pm, "Ramiro Morales" <[EMAIL PROTECTED]> wrote: > On Tue, Apr 15, 2008 at 10:04 AM, <[EMAIL PROTECTED]> w

Re: Adding new language for i18n

2008-04-15 Thread Ramiro Morales
On Tue, Apr 15, 2008 at 10:04 AM, <[EMAIL PROTECTED]> wrote: > > Hi > > I try to add translation for Thai language. I did following, > > 1. My environment is Window so I use Window version of xgettext, see > http://gnuwin32.sourceforge.net/packages/gettext.htm > 2. Under my application path,

Adding new language for i18n

2008-04-15 Thread meledictas
Hi I try to add translation for Thai language. I did following, 1. My environment is Window so I use Window version of xgettext, see http://gnuwin32.sourceforge.net/packages/gettext.htm 2. Under my application path, I created directory conf/locale. 3. Executed make-messages.py -l th. 4. I can se