workflow_get_states doesn't support translation

aluminium - May 2, 2009 - 20:35
Project:Workflow
Version:6.x-1.1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review
Description

Hi folks, please help me, i can't find the way to translate workflow states. Any solution?
Thanks.

#1

jjalocha - June 11, 2009 - 15:29

This seems to be a duplicate of #392678: translating workflow states.

But an answer would still be very welcome...

#2

fabdel - June 30, 2009 - 10:11

Nobody knows ???

#3

seanburlington - July 24, 2009 - 16:39
Title:State translation» workflow_get_states doesn't support translation
Category:support request» bug report
Status:active» needs review

It looks to me like workflow_get_states pulls the state name straight from the db

attached is a patch that wraps this call in the t() function.

AttachmentSize
translate_state_name.patch 536 bytes

#4

askit - November 4, 2009 - 08:13

Anyone tried it? I applied the patch but nothing happened.

 
 

Drupal is a registered trademark of Dries Buytaert.