Make status codes translateable

miglius - September 24, 2009 - 20:04
Project:Signup Status
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

Currently the name of the status is not processed by the t() function and always is displayed as entered when it was created which is not good for a multilingual setup.

I see two options of making it translatable:

a) pass it to the t() in the signup_status_codes() function, but then in the watchdog also a translated name will be logged.
b) pass it to the t() everywhere where status code 'name' is used in the UI.

What are your opinion?

#1

dww - September 24, 2009 - 22:54
Status:needs work» active

See this recent thread on the development list:

http://lists.drupal.org/pipermail/development/2009-September/033796.html

It sounds like there's not really a good solution to this problem in either D6 nor D7 core, and the suggested solution is quite a bit more complicated than either option you propose... :/

So, please read that thread, then we can discuss a viable solution here. Thanks.

-Derek

p.s. Miglius: nice to see you back in the signup_status issue queue. ;)

 
 

Drupal is a registered trademark of Dries Buytaert.