-
Notifications
You must be signed in to change notification settings - Fork 5
Prefix [English] before untranslatable titles #13
Description
Many modules have the text [English:] in front of the module title ánd description. I think you mean that these modules are only available in English, which isn't quite true.
Maybe, I need to explain how I manage to provide the module information. For all modules, which are not installed, I cannot retrieve the module data from the modules themselves. Therefore, I generated a list of module names, title, and descriptions of all supported modules and stored it in a JSON string:
https://github.com/Jefferson49/CustomModuleManager/blob/main/src/Configuration/DefaultTitlesAndDescriptions.phpI can generate this JSON string on one of my webtrees installations, where all supported modules are installed.
At the moment, I only created the JSON list based on the English titles and descriptions. A first try to extract all languages failed, since the JSON created errors. I might rework on this later.
As long as I only have the English titles and descriptions, I decided to add this "[English:]" prefix
Originally posted by @Jefferson49 in #10
I'll come back to this a little bit more.
I understand this decision for modules that are not yet installed. Although I find it unnecessary myself, but tastes differ.
But for modules already installed, I really don't understand this. I never translate the titles of my own modules. These are not really translatable into Dutch. I just checked for Fancy Imagebar. And at least in German, Italian, French and Swedish the title of the module is not translated and remains just Fancy Imagebar. So I find this addition to installed modules superfluous and it also makes the list very cluttered.
Perhaps you could reconsider this for a next release.