[development] Translating database fields
lists at kerneltrap.org
Wed Sep 23 01:23:00 UTC 2009
I'm looking for advice on the proper way to resolve this issue:
The support module  defines four default states ("new", "active",
"pending", "closed") and four default priorities ("low", "normal",
"high", "critical"). These fields are defined in the database to allow
the easy creation of custom states and priorities. Because of this, I'm
unsure on how to correctly make them translatable.
The t() api documentation page  explicitly states, "however tempting
it is, custom data from user input or other non-code sources should not
be passed through t()." It goes on to explain that doing so can lead to
orphaned words, mistranslation of non-English words, etc. My question
then is, what is the correct way to make these states and priorities
Yes, they can simply be changed in the database if you'd like to change
them to another language, but some websites want the ability to
translate them into multiple languages.
If replying, please do so in the issue linked above.
More information about the development