--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-cm...@googlegroups.com.
To post to this group, send an email to joomla-...@googlegroups.com.
Visit this group at http://groups.google.com/group/joomla-dev-cms?hl=en-GB.
For more options, visit https://groups.google.com/groups/opt_out.
--
Please keep the Subject wording in your answers
Would there be any way to change the value of
$module->title, from within the module, based on the language?
Best,
Matt Thomas
Founder betweenbrain™
Lead Developer Construct Template Development Framework
Phone: 203.632.9322
Twitter: @betweenbrain
Github: https://github.com/betweenbrain
Composed and delivered courtesy of Nexus 7.
Hi Jean-Marie,
that's exactly the implementation i suggest. Just a parameter to enable the translation of the title, all the other stuff is handled by the module itself. My question is if there is a need for such feature.
Even being able to translate the module title most users will probably require translate the content too. This can be done with a custom module chrome. You can reuse any unused module param to set if you want to show the module title or the language override. You can also use the standard title for the default language and use the language strings for the rest.
You already can use categories for all languages. You can also build your own pseudo-language system into overrides like in module chromes.
The current multilanguage system can be tedious but is powerful.
Hi Jean-Marie,
that's exactly the implementation i suggest. Just a parameter to enable the translation of the title, all the other stuff is handled by the module itself. My question is if there is a need for such feature.