I am configuring views to display cck nodes, and I have several filters exposed.

The problem is: How to translate labels for these filters?
I cannot find the text of these labels neither as string, nor via the Localization client.

Thank you!

CommentFileSizeAuthor
#3 i18nviews.patch682 bytesAlice Heaton
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Jose Reyero’s picture

Component: Module i18nviews » Compatibility
Status: Active » Fixed

Views integration/translation is WIP, see http://drupal.org/node/313262

Anonymous’s picture

Status: Fixed » Closed (fixed)

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

Alice Heaton’s picture

Status: Closed (fixed) » Needs review
FileSize
682 bytes

I'm re-opening this, as I have a patch to offer for this feature. It's implemented as a form_alter hook in i18views.

Patch from the root of i18nviews.

Jose Reyero’s picture

The patch looks good.

Any reason why we shouldn't be using the field id as the string key?

Jose Reyero’s picture

Status: Needs review » Postponed
Issue tags: +i18n views

There's a complete solution for views here, #360024: Write views localization plugin

So I'll be committing that one if the related patch gets into Views. Otherwise we'll go for this one as a temporary solution.

joostvdl’s picture

I created a patch for the plugin based in the patch form #3. You can find it at #360024: Write views localization plugin

Boobaa’s picture

subscribe

Jose Reyero’s picture

Jose Reyero’s picture

Status: Postponed » Closed (fixed)

Module moved to new package. We have now two branches (views 2.x / 3.x)

cesabal’s picture

Be careful with function tt() this function is deprecated, use i18n_string() function