My translation fr_FR is overtaking the default en_US
-
Love this plugin.
My site is bilingual: French/English
I have created a French translation. The files are located at:
wp-content/languages/plugins/better-search-fr_FR.mo
wp-content/languages/plugins/better-search-fr_FR.poWhen I search in French, I get these French strings:
Résultats 1 – 3 de 7 Page 1 de 3
Résultats par page: 10 | 20 | 50 | 100
Pertinence: 100% Posté le: 2016-12-12
…When I search in English, I still get these French strings:
Résultats 1 – 3 de 7 Page 1 de 3
Résultats par page: 10 | 20 | 50 | 100
Pertinence: 100% Posté le: 2016-12-12
…If I remove the French translations from:
wp-content/languages/plugins/Then… Everything shows in English:
Results 1 – 3 of 7 Page 1 of 3
Results per-page: 10 | 20 | 50 | 100
Relevance: 100% Posted on: 2016-12-12I use Loco Translate to work with translations.
Here’s the Debug information Loco Translate gives me after I removed my fr_FR files (to avoid any possible conflict):
————————————————————————
This information is for developers to find problems in the bundle setup.“Better Search” 2.1.0 by Ajay D’Souza — Visit official site
Configuration auto-detected from file headers
WordPress says primary text domain is “better-search”
Primary domain path declared by author as “/languages”
1 domain path[s] configured for “better-search” -> [“languages”]
No template file configured for “better-search”
Possible non-standard name for “better-search” template at “languages/better-search-en_US.pot”
119 strings extracted from source code for “better-search”
2 unconfigured domain[s] found in source code: “twentyeleven” & “default”
Current configuration as XML:<?xml version=”1.0″ encoding=”utf-8″?>
<bundle name=”Better Search”>
<domain name=”better-search”>
<project name=”Better Search” slug=”better-search”>
<source>
<directory>.</directory>
</source>
<target>
<directory>languages</directory>
</target>
<template>
<file>languages/better-search-en_US.pot</file>
</template>
</project>
</domain>
</bundle>
————————————————————————Kind Regards,
- The topic ‘My translation fr_FR is overtaking the default en_US’ is closed to new replies.