Active
Project:
#translatable
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
21 Apr 2008 at 07:54 UTC
Updated:
25 Apr 2008 at 17:15 UTC
From the description of the module:
"
Translatable provides support for most used Drupal core objects, i.e. nodes,
blocks, menu items, and taxonomy vocabularies and terms. Due to its design,
support for CCK-based nodes is built-in.
"
However, I am not able to find the way to translate a select list with predefined options.
An example:
Content-type defining a person has a select list for choosing Mr or Mrs.
How can I translate Mr and Mrs to other languages?
The Localization - manage strings does not provide me a way to do it.
I tried to define key|value pairs in the values section instead of only the key but without success.
Is there a way to do this with this module?
thanks in advance
Comments
Comment #1
sunuhm, no. CCK support currently refers to creating translations of CCK nodes. Support for translating pre-defined CCK field values (like in your example) is currently not available. Patches are welcome, though.
Comment #2
magoo commentedI don't think I am able to provide a patch, I believe the patch should concern the CCK module providing the select list, or is it a translatable issue
All I can do is to provide my workaround of the issue:
-> define the possible values in the php section, like this:
Mr and Mrs are then available for translation.
But I am not able to find how to translate the 'title' and 'body' custom label name (?).
Comment #3
magoo commentedTo continue around the support of CCK by this great module:
I have added an image CCK field in a content-type. When translating a node, the image field is emptied.
If I try to upload another image I get an fopen error in my logs and the image is not displayed in the edit form.
And if I save the node, the original image is displayed in both languages.
EDIT: no, I loose the original image in the translation display.
Is there a limitation to 1 image in all translations for a given node?
Comment #4
sun