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

ezra-g’s picture

Title: Translation issue ... » Event registration type field not translatable
Component: Code » Events
Issue tags: +internationalization

@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?

ezra-g’s picture

Status: Active » Closed (duplicate)
slowflyer’s picture

OK,

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.