By chris on Tuesday, 05 February 2019
Posted in General Issues
Likes 0
Views 470
Votes 0
Translation outside ES?

I have a question about translating modules outside a position of ES.

If I set a module (e.g. Dating-Search) from "es-dashboard-aside" to "my-template-dasboard-aside", then the content of the module will be translated, but not the header... Why is this so?

Some say this is due to Joomla.

But if the content of the module is translated and the headline not, then it must be ES.

That is, for mobile view I want to copy the content of "es-dashboard-aside"" into my template (sidebar). Quite simply by adding the position in my sidebar.

But if the headline is not translated, then I would have to make a copy for each language and each module. This inflates the web page extremely.

Again to the question. If the content is translated, it should be very easy to translate the headline of each module.

How can you do that?
What do you mean by the header? Do you mean the title of the module?
·
Tuesday, 05 February 2019 22:09
·
0 Likes
·
0 Votes
·
0 Comments
·
That's right, the title. Photo one is es-dashboard-aside

and photo two is my-template-dasboard-aside.
·
Tuesday, 05 February 2019 23:35
·
0 Likes
·
0 Votes
·
0 Comments
·
If you use a language string for a module title, you should place those strings in Joomla's language file (overrides) instead of EasySocial.

If the module appears on a page that does not render EasySocial or renders EasySocial after the module, the language variables may not get exported before it is being used.
·
Wednesday, 06 February 2019 16:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi, Mark. I understand.

I set my overwrites basically in "en-GB.override.ini" etc.

If I use the template "Protostar" and set the module "Dating-Search" to "Position 8", the language string is not translated.

And is there a way to render it? There must be a way to do this. It would be madness to copy the modules for each language. With 30 languages you have 30 times as many modules. And that with 10 modules results in 300 times more modules than really needed.

To save positions, I have integrated the ES position... for mobile view as sidebar into my template.

<jdoc:include type="modules" style="JAxhtml" name="es-dashboard-aside" />
·
Wednesday, 06 February 2019 17:38
·
0 Likes
·
0 Votes
·
0 Comments
·
I just spent the past 30 minutes troubleshooting this issue and the problem is because protostar does not add a JText on the module title. Therefore translations would not work on the module title.

To be honest, I really don't see why is this related to EasySocial. If you have set a string for the module title, they are rendered by Joomla and not by EasySocial.
·
Wednesday, 06 February 2019 18:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi, Mark. I understand.

At least the problem is now known.

Maybe I can find a solution. As long as I just remove the titles with display: none

Not the best solution, but better than countless modules just because of the title.
·
Wednesday, 06 February 2019 19:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Chris,

Yes, that's what you can do for now.
·
Thursday, 07 February 2019 11:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for understanding
·
Thursday, 07 February 2019 11:32
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post