Install an ultra simple mod_helloworld that has a configuration item such as shown in the attached XML,
and a corresponding language file, similar to attached.
Label field and default field translated using the language file
Label field is translated, but default field is left as the language string MOD_HELLOWORLD_DEFAULT
Any recent Joomla, Linux, PHP 8
I did try attaching a complete package, but zip files not allowed
Labels |
Removed:
?
|
Labels |
Added:
No Code Attached Yet
|
Labels |
Added:
Information Required
|
I did post it as a text file. But it wasn't saved. The issue is clear enough without an example - any configuration XML for a module that uses the "default" tag and enters a language symbol will fail to have the symbol translated. mod_remositorytree.txt
The file above was the workaround. The problem is exemplified here.mod_remositorytree.txt
On a quick look it seams to be the expected / documented behavior: https://docs.joomla.org/Text_form_field_type
default (optional) (not translatable) is the default value
When you need that within your extension the easiest workaround would be an fork of the text field and add support for translation. To me it looks like an inherited field from other places where translation is not relevant or useful.
Labels |
Removed:
Information Required
|
Labels |
Added:
bug
|
This should be closed as the expected and documented behaviour
Please post the xml or close this. No one can help without the information