Translation fallback

Categories

Component ID

2446441

Component name

Translation fallback

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

2521

Component created

Component changed

Component body

Translation contexts [1, 2] is a great thing, but way too specific in i18n's implementation: each single string has a context and you need to translate the same string for each of its contexts.

This module enables fallback to the default context when a string has no translation in its own context.

Supported objects

At present the module is able to fall back to core translation for the following objects:

  • Blocks (needs i18n_block, part of i18n project)
  • Fields and instances (needs i18n_field, part of i18n project)
  • Menu items (needs i18n_menu, part of i18n project)
  • Panels (needs i18n_panels, part of panels project)
  • Taxonomy terms (needs i18n_taxonomy, part of i18n project)
  • Views (needs i18nviews project)

Install instructions

This module works out of the box. Just enable it. There're no configuration options. If you're enabling it on a website where you've already added translations, see the «prepare translation tables» section in the README.

Note: Due to the nature of some objects, you need to flush caches for its strings to start translating.

Support and customizations

The module author provides paid development and consulting services. Contact Jonathan Araña Cruz.

You can also support this module by giving cash gifts via Gratipay.