I have a very odd issue.
The catalogue plugin at https://moodle.org/plugins/block_catalogue has most of its string variables available in AMOS for translation, but some very important strings are not available in AMOS and they always show up in English. The french author of the plugin is obviously puzzled (and not happy).
I noticed that the English language file has some blank empty lines just before the troubled strings.
Are empty lines capable of confusing AMOS and thus preventing AMOS from registering the next string variable ?
Example. the strings "Resources" and "Modules" are not found in AMOS. See the source file:
$string['reports_description_report_roster'] = 'Roster of the students. Names can be hidden to help you learn them.';
$string['resources_listname'] = 'Resources';
$string['resources_resource'] = 'Resources';
$string['resources_use'] = 'Add to course';
$string['mods_listname'] = 'Modules';
$string['mods_resource'] = 'Resources';
GitHub issue is at https://github.com/berrandonea/moodle-block_catalogue/issues/5
Thanks in advance for your help.
I published a new version of the plugin in the Plugins directory. One without the blank lines in the language file.
For the moment, the problematic strings remain in English. But perhaps it takes time.
I'll check this evening.
The error was in my code. I've fixed it now. Please update to version 1.2.2 (available in the Plugins directory) to benefit from the fix and read all the strings in your favorite language.
Thanks again, German.