I18n aware labels

Last updated on
30 April 2025

You are browsing documentation for an older version of Drupal, which is not supported any longer, and the information may not be correct. See current documentation for Contributed modules

The labels entered for the fields are i18n aware. The translations are required to go into *.po files.

This is done using your existing ImageField Extended keys, and defining new translations based on the key part of the field.

ImageField Settings
========================================
Textfields
-------------
KEY|Pattern
========================================

And in you locale specific files use the following patterns for the translations:

"!ife:KEY" for textfields
"!ife:workflow_KEY" for checkboxes
"!ife-help:KEY" for description

So using this example, the standard translation AND ImageField translations for the word Pattern are:

German de.po
========================================
msgid "Pattern"
msgstr "Muster"

msgid "!ife:mykey"
msgstr "Muster"
========================================

French fr.po
========================================
msgid "Pattern"
msgstr "Motif"

msgid "!ife:mykey"
msgstr "Motif"
========================================

Russion ru.po
========================================
msgid "Pattern"
msgstr "Шаблон"

msgid "!ife:mykey"
msgstr "Шаблон"
========================================

Help improve this page

Page status: Not set

You can: