Hi,

I created a website to view customer orders with drupal commerce quickstart
in the order view, i created filter on order numbers.... and one on a specific added field about order status (not the drupal standard status of the order). The field is a numeric value (0..2) in the database, but in the field setting, i used List(Text) type and the widget is the checkbox/radio button where i used this syntax (0|0-in progress CR 1|1-back order CR 2|2-terminated..)for "human" display.
The default language is english for my site and i had translations for other languages via the translate tab (content translation or field translation module). For all others objects, the translation is ok, but for this select box, the terms are not translated and stay in the default language.

Where is he problem, am i wrong or is it a bug ?

Thank you

Comments

Jose Reyero’s picture

Jose Reyero’s picture

Status: Active » Fixed

Committed the patch, this should be fixed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

titus07’s picture

Version: 7.x-1.7 » 7.x-1.8

Same problem as 7.x-1.7 for me
My List (text) fields are not translated

star-szr’s picture

@titus07 - Make sure you have the "Field translation" module enabled.

titus07’s picture

Yes, the "Field translation" module is enabled, it works ok for the others fields
I think the problem is the field type List(text)

star-szr’s picture

I just translated one successfully last week. Might be something different with your setup.

Edit: I'll post back later with version numbers of i18n and Drupal core, don't have access to them right now.

star-szr’s picture

The site that works is running Drupal 7.17 and i18n 7.x-1.8.

smussio’s picture

Hi,

I have the same issue, the label are translate but not the value of the list field. The translation are working fine when I'm editing the content and stay in the default language in view mode.

Informations:
Multilingual - Internationalization Field translation (i18n_field) Module Enabled 7.x-1.8
running Drupal 7.22

Thanks

mtraian’s picture

Check the options available in Manage display. Under format column choose Default translated (simple lists) or Plain text (locallized) - Taxonomy terms
I hope it works!
T.

shi99’s picture

Issue summary: View changes

I had the same issue, but mtraian's comment (#10) sorted out my issue.

Thanks.

ikeigenwijs’s picture

Status: Closed (fixed) » Active

#10 that is only an option for term references fields to Taxonomy terms.

I have List(text) fields and still the same issue.
This is the only one issue i could find that matches my situation, so i reopened.

When i edit the content under different languages users, the fields are correctly translated.
When viewing the content under different languages the default language is shown.

So translations are available but not correctly used.
field_translation 7.x_1.12
internationalization 7.x_1.12
drupal 7.36

megan_m’s picture

This is happening to me too. I have a List(text) field, translations are working fine when I edit the content, but aren't displaying on the front-end.

field_translation 7.x_1.13
internationalization 7.x_1.13

Edit: Nevermind - found a template preprocess function that was interfering.

adriancid’s picture

I solve the issue with the mtraian solution at comment #10

Drupal 7.38
Internationalization 1.13

Milena B’s picture

Hi,
I have a field List(text) and the problem is the same as described in #12,
translations are available but not correctly used, only the default language is shown.
I tried #10 but it didn't work for me.

Drupal 7.41
Internationalization 7.x-1.13
Field translation 7.x-1.13

pipep’s picture

Status: Active » Fixed

Had the same problem on Drupal 7.43 and i18n 7.x-1.13.

Works out of the box :

Go to manage field -> edit ( List (text) with select list in my case) -> Uncheck "users may translate all occurrences of this field" -> Done.

charlesj’s picture

Same problem -- #16 works for me!

Thanks, pipep!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

mmd’s picture

I have experience with the same issue. Please take a look at comment #10.

rcodina’s picture

#16 works for me too. Thanks!