Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
Ŧ Groups Home
Location
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  16 messages - Expand all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Andre Duarte  
View profile  
 More options Dec 13 2007, 9:00 am
From: Andre Duarte <clint.tecnolo...@gmail.com>
Date: Thu, 13 Dec 2007 06:00:06 -0800 (PST)
Local: Thurs, Dec 13 2007 9:00 am
Subject: Location
I'm planning to make a initial translation to pt_BR and then someone
can improve.
So, what I did:

1- python make-messages.py -l pt_BR
locale/pt_BR/
`-- LC_MESSAGES
    `-- django.po

2-I have used poedit to translate some strings from django.po
3-In settings.py I've changed some code.
....LANGUAGE_CODE = 'pt-br'
4-USE_I18N = True
Didn't worked!
So I tried to use a translation to another language.
5-....LANGUAGE_CODE = 'fr' #I've tried to use french translation only
to test
Didn't work too

I don't have experience with this, so, maybe I'm doing something
wrong . Can anyone help me?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andre Duarte  
View profile  
 More options Dec 13 2007, 9:48 am
From: Andre Duarte <clint.tecnolo...@gmail.com>
Date: Thu, 13 Dec 2007 06:48:59 -0800 (PST)
Local: Thurs, Dec 13 2007 9:48 am
Subject: Re: Location
Sorry about the title, must be Translation

On 13 dez, 12:00, Andre Duarte <clint.tecnolo...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bruce Kroeze  
View profile  
 More options Dec 13 2007, 11:20 am
From: "Bruce Kroeze" <bkro...@gmail.com>
Date: Thu, 13 Dec 2007 08:20:04 -0800
Local: Thurs, Dec 13 2007 11:20 am
Subject: Re: Location

Andre, is that location enabled on your machine?  Ubuntu and Debian do not
come with locales set up for many common locales.

On Dec 13, 2007 6:48 AM, Andre Duarte <clint.tecnolo...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andre Duarte  
View profile  
 More options Dec 13 2007, 1:18 pm
From: Andre Duarte <clint.tecnolo...@gmail.com>
Date: Thu, 13 Dec 2007 10:18:32 -0800 (PST)
Local: Thurs, Dec 13 2007 1:18 pm
Subject: Re: Location
Other django projects are ok.
So, I was inspecting the code to figure out why translate don't work
with Satchmo and the only diference I found is this
"django.middleware.locale.LocaleMiddleware" , so I removed this and
translations are now working but with django/utils/locale/(my_lang)/
LC_MESSAGES instead satchmo/locale/(my_lang)/LC_MESSAGES

On 13 dez, 14:20, "Bruce Kroeze" <bkro...@gmail.com> wrote:

> Andre, is that location enabled on your machine?  Ubuntu and Debian do not
> come with locales set up for many common locales.

How can I inspect this??

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bruce Kroeze  
View profile  
 More options Dec 13 2007, 1:19 pm
From: "Bruce Kroeze" <bkro...@gmail.com>
Date: Thu, 13 Dec 2007 10:19:10 -0800
Local: Thurs, Dec 13 2007 1:19 pm
Subject: Re: Location

> > Andre, is that location enabled on your machine?  Ubuntu and Debian do
> not
> > come with locales set up for many common locales.
> How can I see this?

If ubuntu:

http://mcarlucci.free.fr/dotclear/index.php/Gnu-linux

If debian:

http://people.debian.org/~schultmc/locales.html

Other Linuxes:

Probably similar to Ubuntu

Windows:

I don't know or plan to learn.  :)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andre Duarte  
View profile  
 More options Dec 13 2007, 1:44 pm
From: Andre Duarte <clint.tecnolo...@gmail.com>
Date: Thu, 13 Dec 2007 10:44:14 -0800 (PST)
Local: Thurs, Dec 13 2007 1:44 pm
Subject: Re: Location
Problem solved, Bruce thanks for your pacience!

How?
aptitude install mozilla-firefox-locale-pt-br
My Firefox was in English so, the requests are in "en" not in "pt-br"
and then when LocaleMiddleware get the request and change my
language. :-D

"""
    This is a very simple middleware that parses a request
    and decides what translation object to install in the current
    thread context. This allows pages to be dynamically
    translated to the language the user desires (if the language
    is available, of course).
"""

Now I' going to work on my translation and soon as possible I'll send
the django.po.

Tk's

On 13 dez, 16:19, "Bruce Kroeze" <bkro...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nicola Larosa  
View profile  
 More options Dec 15 2007, 11:03 am
From: Nicola Larosa <nicola.lar...@gmail.com>
Date: Sat, 15 Dec 2007 17:03:39 +0100
Local: Sat, Dec 15 2007 11:03 am
Subject: Re: Location

Andre Duarte wrote:
> Problem solved, Bruce thanks for your pacience!

> How?
> aptitude install mozilla-firefox-locale-pt-br
> My Firefox was in English so, the requests are in "en" not in "pt-br"
> and then when LocaleMiddleware get the request and change my
> language. :-D

The language Firefox requests during content negotiation does not have
to be the same as the one the user interface shows: you may set it via
Edit -> Preferences -> Advanced -> General -> Languages -> Choose...

For instance, I see the English user interface, but have Italian and
English as chosen languages, in that order of preference.

--
Nicola Larosa - http://www.tekNico.net/

I've been pretty much convinced that we've got to have autoescape,
and it's got to be on by default. It's basically a tradeoff
between annoyance (of having to turn it off when you need it off)
and security, and security has to win that argument.
 -- Jacob Kaplan-Moss, Django developer, July 2007


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andre Duarte  
View profile  
 More options Dec 15 2007, 7:45 pm
From: Andre Duarte <clint.tecnolo...@gmail.com>
Date: Sat, 15 Dec 2007 16:45:52 -0800 (PST)
Local: Sat, Dec 15 2007 7:45 pm
Subject: Re: Location
Thanks for the information, it was more easily than I thought. xD

On 15 dez, 14:03, Nicola Larosa <nicola.lar...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John Shaffer  
View profile  
 More options Dec 16 2007, 6:27 pm
From: "John Shaffer" <jshaffer2...@gmail.com>
Date: Sun, 16 Dec 2007 17:27:59 -0600
Local: Sun, Dec 16 2007 6:27 pm
Subject: Re: Location
You might find the translation documentation helpful:
http://www.satchmoproject.com/trac/wiki/HowToTranslate

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
IRCzito  
View profile  
 More options Jan 26 2008, 5:53 pm
From: IRCzito <terry.laun...@gmail.com>
Date: Sat, 26 Jan 2008 14:53:41 -0800 (PST)
Local: Sat, Jan 26 2008 5:53 pm
Subject: Re: Location
I'm work too in pt_BR translate for Satchmo.
But i can't try out it.

I follow this steps:

1. python make-messages.py -l pt_BR
2. edit locale/pt_BR/LC_MESSAGES/django.po witch poeit
3. execute 'python /usr/lib/python2.5/site-packages/django/bin/compile-
messages.py -l pt-BR' on Satchmo project dir.
4. set LANGUAGE_CODE = 'pt-br' in settings.py
5. uncomment LOCALE_PATHS = "" in local_settings.py

I'm doing something wrong? Or forget something?

Andre Duarte, if you want help with this translation job I made svn
for django.po file
svn co svn://s1.ath.cx/var/svn/satchmo-ptbr

On 16 dez 2007, 20:27, "John Shaffer" <jshaffer2...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
IRCzito  
View profile  
 More options Jan 27 2008, 8:30 am
From: IRCzito <terry.laun...@gmail.com>
Date: Sun, 27 Jan 2008 05:30:24 -0800 (PST)
Local: Sun, Jan 27 2008 8:30 am
Subject: Re: Location

Sorry, the problem is really the request of the browser.
I can preview my translation on epiphany web browser.

But is there any way to modify the default locale?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bruce Kroeze  
View profile  
 More options Jan 27 2008, 2:00 pm
From: "Bruce Kroeze" <bkro...@gmail.com>
Date: Sun, 27 Jan 2008 11:00:02 -0800
Local: Sun, Jan 27 2008 2:00 pm
Subject: Re: Location

Change LANGUAGE_CODE in settings.py to whatever you want as default.

On Jan 27, 2008 5:30 AM, IRCzito <terry.laun...@gmail.com> wrote:

> Sorry, the problem is really the request of the browser.
> I can preview my translation on epiphany web browser.

> But is there any way to modify the default locale?

--
Bruce Kroeze
http://solidsitesolutions.com
Dynamic Designs, Optimized

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Terry Laundos  
View profile  
 More options Jan 27 2008, 2:34 pm
From: "Terry Laundos" <terry.laun...@gmail.com>
Date: Sun, 27 Jan 2008 16:34:29 -0300
Local: Sun, Jan 27 2008 2:34 pm
Subject: Re: Location
I already changed, but in Firefox, and IE it still in English.
Under Ephiphany is OK.
Have any idea of how I can fix it?

2008/1/27, Bruce Kroeze <bkro...@gmail.com>:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Moffitt  
View profile  
 More options Jan 27 2008, 8:56 pm
From: "Chris Moffitt" <ch...@moffitts.net>
Date: Sun, 27 Jan 2008 19:56:04 -0600
Local: Sun, Jan 27 2008 8:56 pm
Subject: Re: Location

Try this plugin for Firefox -
https://addons.mozilla.org/en-US/firefox/addon/1333

I think that's what you're looking for.

-Chris

On 1/27/08, Terry Laundos <terry.laun...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Terry Laundos  
View profile  
 More options Jan 28 2008, 6:48 am
From: "Terry Laundos" <terry.laun...@gmail.com>
Date: Mon, 28 Jan 2008 09:48:56 -0200
Local: Mon, Jan 28 2008 6:48 am
Subject: Re: Location
Tanks Chris Moffitt,
Itīs work for Firefox, but for IE donīt.
On IE seens only Django default words appears with translate, and
Satchmo words steel in English after LANGUAGE_CODE = pt_BR
Do you know if have another way to modify the default locale?

2008/1/27, Chris Moffitt <ch...@moffitts.net>:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bruce Kroeze  
View profile  
 More options Jan 28 2008, 11:15 am
From: "Bruce Kroeze" <bkro...@gmail.com>
Date: Mon, 28 Jan 2008 08:15:59 -0800
Local: Mon, Jan 28 2008 11:15 am
Subject: Re: Location

If you don't want to see english at all, you can (temporarily or
permanently) remove it from your LANGUAGES setting.

On Jan 28, 2008 3:48 AM, Terry Laundos <terry.laun...@gmail.com> wrote:

--
Bruce Kroeze
http://solidsitesolutions.com
Dynamic Designs, Optimized

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »