Closed (duplicate)
Project:
Drupal Commons
Component:
Events
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
8 Nov 2012 at 17:37 UTC
Updated:
10 Nov 2012 at 18:29 UTC
Content type "Event" for example owns a field "Registration type" which is a simple select list.
The "allowed values" are defined as:
onsite|On this site
external|On another site
which does translate at all!
Please add the CCK module! After that ...
Using php-code instead, solves this issue:
return array ("onsite"=>t("On this site"),"external"=>t("On another site"));
Things like that make translating a website a really hard job!
Comments
Comment #1
ezra-g commented@slowflyer - We definitely want to make sure these fields are translatable. However, CCK doesn't appear to be supported for Drupal 7. Can you clarify on your suggested approach here?
Comment #2
ezra-g commented#1827816: Add Title module
Comment #3
slowflyer commentedOK,
there's only a CCK 7.x-2.x-dev, but this one is necessary to be able to define list options as php-array and using the t-function.
But you are right, using field translation and enable translation for these fields would solve the issue as well and without CCK. My fault.