Using the localized name
pictogram - January 26, 2008 - 19:24
| Project: | Localization client |
| Version: | 5.x-1.x-dev |
| Component: | User interface |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I've translated the client in french but wonder if it would be possible to have the %language in 'Translation to %language' return the name of the langauge in it's own language : ex in french returns > Traduction vers le FRENCH. FRANÇAIS would be better.
Thanks

#1
I forgot to include the 'TRANSLATE TEXT' string which catch the translation for 1 sec but then goes back to english !!
I'm working with D5.6
#2
The only viable option in drupal 5 is to change the language "English name" from FRENCH to FRANÇAIS on page admin/settings/locale/language/overview
i18n module add the "Native name" column to this settings page, but that can not be used in this context
to hack the module and use t() function to translate FRENCH to FRANÇAIS is not recommended, because it is 'user defined string'
#3
Actually, language names are an exception to the "user defined strings" rule, since we have a list of default language names, French being one of them. So we can just use t() there.