thank you guys! very helpful!
Il giorno lunedì 20 agosto 2012 12:43:20 UTC-5, Nick Apostolakis ha scritto:
>
>
>
> On Mon, Aug 20, 2012 at 8:18 PM, Jojo
> > wrote:
>
>> what is the meaning of the fuzzy mark?
>>
>>
> fuzzy is some kind of auto translated field.
> it may be correct or not.
> when y
On Mon, Aug 20, 2012 at 8:18 PM, Jojo wrote:
> what is the meaning of the fuzzy mark?
>
>
fuzzy is some kind of auto translated field.
it may be correct or not.
when you are sure that the translation is correct, you remove the fuzzy
annotation and then the translation works fine
--
-
what is the meaning of the fuzzy mark?
Il giorno venerdì 17 agosto 2012 23:11:25 UTC+2, Tomas Neme ha scritto:
>
> > For example for this link
> >
> > {% trans "contacts"
> %}
> >
> > I have the msgstr="Contactos". I expect to see "Contactos" in the
> browser,
> > but I still see "contacts"
> For example for this link
>
> {% trans "contacts" %}
>
> I have the msgstr="Contactos". I expect to see "Contactos" in the browser,
> but I still see "contacts". Any suggestion?
1) case-sensitive. Are you sure you haven't translated "Contacts"
instead of "contacts"?
2) fuzzy-mark. I've noticed t
Ok guys, I was missing the LOCALE_PATHS in settings.py, now it works
properly.
Il giorno venerdì 17 agosto 2012 04:15:59 UTC+2, Jojo ha scritto:
>
> Hi, the subject should be a little clear so, this is the project folder
> structure
>
> project folder
> locale
> en
> LC_MESSAGES
>
I got it.
My templates files have htm extension and makemessages looks for htmL
files, so I used -e option specifying htm extension like this:
django-admin.py makemessages -l es -e htm
Now I have msgid/msgstr that I need.
NOW
I compiled the msgstr with the translations an compiled the messages
i'm sorry, templates are in application folder in the templates directory
Il giorno venerdì 17 agosto 2012 04:15:59 UTC+2, Jojo ha scritto:
>
> Hi, the subject should be a little clear so, this is the project folder
> structure
>
> project folder
> locale
> en
> LC_MESSAGES
> django.
On 17-8-2012 4:15, Jojo wrote:
> I have created a locale folder and after I launched the django-admin.py
> makemessages command as explained in the documentation, but when I open a
> .po file (the command create the files actually), I can't found
> the msgid/msgstr relative to the translation i
You gave us the project layout, but where are the templates?
My guess is that Django is basically not picking them templates *up*, but I
might be off.
There are arguments to the makemessages command that can help you indicate
the directory you want messages created for. You can also use higher
ve
Hi, the subject should be a little clear so, this is the project folder
structure
project folder
locale
en
LC_MESSAGES
django.po
es
LC_MESSAGES
django.po
it
LC_MESSAGES
django.po
project
__init__.py
mochileros
settings.py
urls.py
wsgi.py
10 matches
Mail list logo