Since I do lots of multilingual projects, I would love the label text to be translatable. Even after flushing the cache, running cron, interface translation does not found the labels.

Comments

discipolo’s picture

$settings['trigger_expanded_label] may be have to wrap in t https://drupal.org/node/1844980#comment-6750998 ?

discipolo’s picture

discipolo’s picture

Do we need to call i18n_field field ourselves?

discipolo’s picture

I think we need to do something like

Usually i18n_field module takes care of providing translated formatters for fields provided by core and maybe popular contrib modules, it could be handled by this module itself.

so we possibly need a small sub module like http://drupalcode.org/project/field_placeholder.git/commit/1267c1e Or

http://drupalcode.org/project/custom_add_another.git/commit/050d1ee23e4d...

Or just a patch like https://drupal.org/files/issues/commerce-i18n_field-integration-1155486-...

discipolo’s picture

Title: label text not localizable » expanding-formatter-trigger label text not localizable
discipolo’s picture

StatusFileSize
new1.16 KB

i may have been right the first time.
making these two changes the translation is possible it seems, but only after clicking expand once ... so this is not complete yet

discipolo’s picture

Status: Active » Needs review
StatusFileSize
new1.54 KB

Status: Needs review » Needs work

The last submitted patch, 7: expanding_formatter-labeltranslate.patch, failed testing.

discipolo’s picture

Status: Needs work » Needs review
StatusFileSize
new1.87 KB

Status: Needs review » Needs work

The last submitted patch, 9: expanding_formatter-translate-2259807-9.patch, failed testing.

discipolo’s picture

Version: 7.x-1.0 » 7.x-1.x-dev
discipolo’s picture

Status: Needs work » Needs review

The last submitted patch, 6: expanding_formatter-2259807-6.patch, failed testing.

Status: Needs review » Needs work

The last submitted patch, 9: expanding_formatter-translate-2259807-9.patch, failed testing.

discipolo’s picture

The last submitted patch, 7: expanding_formatter-labeltranslate.patch, failed testing.

discipolo’s picture

Status: Needs work » Needs review
StatusFileSize
new1.86 KB

line endings? it applies locally for me, whats up testbot?

mazze’s picture

Status: Needs review » Reviewed & tested by the community

Works:-)

maico de jong’s picture

worked for me