#4152: [unicode] Unicode-aware translation
----------------------------------------------------------+-----------------
Reporter: Ivan Sagalaev <[EMAIL PROTECTED]> | Owner:
mtredinnick
Status: new |
Component: Uncategorized
Version: other branch |
Resolution:
Keywords: unicode |
Stage: Accepted
Has_patch: 1 |
Needs_docs: 0
Needs_tests: 0 |
Needs_better_patch: 0
----------------------------------------------------------+-----------------
Comment (by Ivan Sagalaev <[EMAIL PROTECTED]>):
> * Not sure why you aren't seeing errors in make-messages.py. I get them
all the time with both gettext 0.14.5 and gettext 0.16.1. Most odd. It's
documented as not valid for gettext msg ids anyway.
Yes, I just noted this as a strange fact, not for using it :-)
> * There's no problem with using u".." strings inside the gettext()
calls providing they use ASCII characters. xgettext only looks for the
quotes anyway. I haven't been bothering to change them in localflavor/
contributions.
I thought that this may be misleading for people reading source and
thinking "if it can accept unicode I could use my native language as a
base for translation".
> * Old forms is deprecated, not absent. We need to fix oldforms, too,
for backwards compatibility. I don't know if oldforms will still be
present in 1.0 or not (I would guess, yes, but {{{import forms}}} will
import newforms by default). We can't break the tree once unicode is
merged with trunk and there's a lot of code still using oldforms. I'll fix
that up, though, it's not too hard, I suspect.
I actually have core.validators converted locally, I'll just update the
patch in a few hours.
> (Oh, and stop putting `[patch]` in the title. There's a checkbox for
that. Using "[patch]" makes it look like you're still living in 2006.)
Ouch :-). Perhaps I was trying too hard to get used to it and now it
strikes back :-).
--
Ticket URL: <http://code.djangoproject.com/ticket/4152#comment:5>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" 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-updates?hl=en
-~----------~----~----~----~------~----~------~--~---