Download & Extend

workflow_get_states doesn't support translation

Project:Workflow
Version:6.x-1.1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (won't fix)

Issue Summary

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

Comments

#1

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

But an answer would still be very welcome...

#2

Nobody knows ???

#3

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

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

#5

Status:needs review» closed (won't fix)

Since this request is over 2 years old, I'm going to assume a solution was found or you've moved on. If not, please get updated to the latest versions of all modules and make a request for it against Drupal 7 and I'll be glad to take a look at it.

nobody click here