Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
Screen Shot 2013-05-17 at 11.05.16 AM.png | 53.1 KB | alberto56 |
Comments
Comment #1
alberto56 CreditAttribution: alberto56 commentedIt 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.
Comment #2
Hanno CreditAttribution: Hanno commentedYou 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.
Comment #3
pbuyle CreditAttribution: pbuyle commentedAccording 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.