On this page
Translating BEF settings
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
BEF now has full support for translation of any text used in the BEF settings form.
NOTE: if you were using the I18N Strings module to translate exposed sort rewrite strings, you will need to redo your configurations using core's Locale module. Basically translations created between 30 Jan, 2014 and 27 March, 2015 will need to be redone.
To create translations for BEF settings
First, enable the Locale module and configure the languages you wish to translate into at admin/config/regional/language. This is the same as you would do for any localized site build.
If the strings are in an existing view:
- Edit the view containing the strings you wish to translate.
- Open the BEF settings form (in the Advanced section, click on "BEF settings") and click the Apply button without making any changes.
- Save the view (again, without making any changes).
- Navigate to admin/config/regional/translate/translate and the BEF settings strings should be available for translation.
If you are building a new view, the strings will be available once the view is saved.
When entering translations for fields that depend on the newline character -- any of the rewrite settings, for example -- the newline character is stripped when displaying the default language text. However the translations MUST HAVE A NEWLINE for it to work correctly. It should look just the same as in the BEF settings form. See the example below.

If you are editing the .po files directly, ensure there is a \n in your translations. See this comment for more details.
Credit
Drupal users heddn and berliner deserve much of the credit for for translation in BEF. Thank you for your patches!
Help improve this page
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion