On Tue, 2007-07-10 at 13:38 +0000, Philip Lindborg wrote:
> Hello,
> 
> I'm having problem with the Swedish translation of the admin page. The
> word "Add" is not being translated into the Swedish "Lägg till".
> 
> I can find the translation here:
> http://code.djangoproject.com/browser/django/trunk/django/conf/locale/sv/LC_MESSAGES/django.po#L1711
> 
> And it's use that does not seem to work here:
> http://code.djangoproject.com/browser/django/trunk/django/contrib/admin/templates/admin/index.html#L28
> 
> Any ideas? I don't know much about the i18n system, so I failed to
> solve the problem myself.

Any strings marked as "fuzzy" are not really translated, from the point
of view of the runtime system.

If you have a look just above the msgid there, you'll see the line that
says "#,fuzzy". This means that when the strings were last merged, the
merge program thought that "Add" was pretty close to whatever was there
last, but it might not be exactly correct. So it is up to the translator
to go through and check and, if the translation is correct, remove the
"#,fuzzy' comment (just delete it).

If you want to fix this in your own copy, delete the fuzzy comment then
run "bin/compile-messages -l sv" to recreate the .mo (compiled messages)
file. If you want to help everybody out (who uses Swedish), get an
up-to-date copy of the code from subversion, run "bin/make-messages -l
sv" to update the strings and then check each "#,fuzzy" entry and remove
the fuzzy comments from those strings that are still correct.

Regards,
Malcolm

-- 
I just got lost in thought. It was unfamiliar territory. 
http://www.pointy-stick.com/blog/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django I18N" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Django-I18N?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to