Once in a while I get something like the enclosed image. I'm not sure how this happened, but Drupal thinks my string is originally in French and wants me to define an English version. How can I tell Drupal that my original string is in fact in English and I want to translate it to French?

Cheers,

Albert.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

alberto56’s picture

It seems that new strings are added in the site's default language by default. I was told it is possible to override this behaviour in sites/*/settings.php, but I'm not sure how.

Hanno’s picture

You can override strings for English in settings.php
(http://drupal.org/node/522036) or use the string override module. In that way you can translate the French string to English with http://drupal.org/project/stringoverrides
For French you can keep the string untranslated as it is already English.
But this is more a workaround. You can better take some time and replace all French texts in the English interface to English and translate them.

pbuyle’s picture

According to http://thereisamoduleforthat.com/content/features-and-i18n-configuration..., you can explicitly specify the source language of UI-provided strings translated by i18n_strings via the variable i18n_string_source_language.