Comments

nedjo’s picture

Title: Expose i18nstrings data to Views » Write views localization plugin

Correct title.

nedjo’s picture

Status: Postponed » Needs work
StatusFileSize
new1.47 KB

The views plugin patch is now far enough along for an i18nviews plugin.

Here's an initial draft of the plugin. TODO: Edit i18nviews.views.inc file to register the plugin.

nedjo’s picture

Fix some issues in previous draft.

nedjo’s picture

Status: Needs work » Needs review
StatusFileSize
new8.95 KB

Here's an initial patch. It requires the patch at #357529: Implement translation of customized 'translatable' views properties.

catch’s picture

subscribing.

manuel garcia’s picture

Great ... can't wait for this guys.

Btw, is it me or has views translation module disappeared from the latest stable release 6.x-1.0 ?

nedjo’s picture

Yes, it was removed from the latest release because we're rewriting it. It should be added back in after this patch is applied and when the accompanying patch on Views hits Views stable release.

nedjo’s picture

Updated patch. Now includes hook_locale() 'refresh' op.

nedjo’s picture

Previous patch included some extraneous material.

najibx’s picture

subscribing

tomsm’s picture

Status: Needs review » Active

Hi,

When will the plugin be available?

I have a vocabulary with localized terms.
I use taxonomy menu together with views and the terms are not translated in the "page" display.
Will this patch solve my problem?

Thank you.

jose reyero’s picture

Issue tags: +i18n views

@nedjo,

This looks great, I'll be committing it as soon as the views part gets in.

Glowy’s picture

Hello everybody!

Do you know when the plugin will be available? I'm also desperate for it :)

Chris

lamp04ka’s picture

Hi
there is no i18nviews module in last version of i18n (6.x-1.0)

joostvdl’s picture

Can anybody tell me what about the i18nviews module in the 6.x-1.0 release?

joostvdl’s picture

Patch from #9 fails on the i18nviews.info file for the latest DEV release.

joostvdl’s picture

Status: Active » Needs review
StatusFileSize
new9.62 KB

Updated patch for DEV release

joostvdl’s picture

Based on a patch for translation of exposed labels #295305: Views: translation of labels for exposed filters I created a patch for the latest patched i18nviews plugin (6.x-1.x-dev) with i18nviews-localization-plugin-360024-9.patch form #9

junro’s picture

subscribe :)

otinanism’s picture

Hi all,

Newbie question:

I really need this feature and I am wondering, is it possible to make this work by updating to the latest dev version, or do I need a fresh install to be able to see localized views? Because I replaced in my site with the dev version and I don't see any difference, no localized views.

Thank you.

dagmar’s picture

Is possible implement #18 into the plugin. I think that this should be more appropiate.

For example, on this issue, #337348: Localise views exposed forms we replace the implementation of hook_form_alter for an specific plugin.

jolidog’s picture

subscribing...

boobaa’s picture

subscribe

hass’s picture

jose reyero’s picture

Status: Needs review » Fixed

Committed the patch in #17 with some changes.

I don't want to wait forever till the views side gets committed, so let's help people testing that patch at least.

About #18, it needs some more string keys, we can work on that in a new thread.

Thanks everybody, this looks really promising.

Status: Fixed » Closed (fixed)

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

momper’s picture

subscribe

momper’s picture

can i use this already with "Translation Table"?
or should i ask there an feature request?

jolidog’s picture

Status: Closed (fixed) » Active

@momper
People don't often see closed issues, because the Status filter is often as -Open issues - , so your questions could go unanswered. Next time mark the issue as active.

Anyway, my guess is you can't since translation table says on the project page it's supposed to translate only taxonomies and menus.
Views translations are not well defined, some properties work, some don't, it's a work in progress. It might be a while before there is an UI dedicated to help translate all of views strings.

Mark the issue as closed after you read this, thanks :)

momper’s picture

thank you very much for the infos ...

miro_dietiker’s picture

Status: Active » Closed (fixed)

closing again.