Support Forum

  • Page:
  • 1

translating tabbed modules titles

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hello,
I'm sorry to ask you about some explaining, but...how to translate tabbed modules titles that are directly saved in the backend/template/tabbed modules section ?

By taking a look at the index.php of the template it don't seems to be possible without any code customization because the title is directly wrote from the db to the index.php:
...$this->params->get('tabtitle1') ...

Is it possible a solution involving any Falang translation ?
Also...is it possible to solve this issue by setting info in language file and then by the use of something like:
JText::_("tabtitle1")

Thank you for any suggestion
  • gulp's Avatar
  • gulp
  • Free Extensions
  • 72 posts
  • Karma: 0
The administrator has disabled public write access.
What template is it?
and what version?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
This is for Corporate ... I don't know where to read the version
  • gulp's Avatar
  • gulp
  • Free Extensions
  • 72 posts
  • Karma: 0
The administrator has disabled public write access.
Is it for Joomla3?
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Yes, I'm with J3.3
  • gulp's Avatar
  • gulp
  • Free Extensions
  • 72 posts
  • Karma: 0
The administrator has disabled public write access.
Do you have a template style set up for each language?
As then it would be a case of just adding in the correct language to it

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
Last Edit: 9 years 11 months ago by manh.
The administrator has disabled public write access.
No, at present I don't.
I'm using Falang, does it also works ?
  • gulp's Avatar
  • gulp
  • Free Extensions
  • 72 posts
  • Karma: 0
The administrator has disabled public write access.
To be honest I'm not sure but will ask a developer once they are available

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Ok thank you,
anyway...what do you mean with "template style for each language" ?
  • gulp's Avatar
  • gulp
  • Free Extensions
  • 72 posts
  • Karma: 0
The administrator has disabled public write access.
I've not used falang

with a standard multi language you would create a template style(version) for each language and assign that to those pages with that language on

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
I've used in past this way but I think is not the best solution because you have to code the style for each language even if the 99% of the style is the same for all languages.
No other ways ?
  • gulp's Avatar
  • gulp
  • Free Extensions
  • 72 posts
  • Karma: 0
The administrator has disabled public write access.
You wouldn't have to code the style as such

- you would create the template style as required for the first language

and then duplicate it for other languages changing the settings/language like in tabs as required

I'll check for other ways
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi,

Yes you can replace those tags with language strings as you have suggested.
Thanks
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.
Well, not so trivial as it seems to be, because inside the tab string you would find also the icon tag...anyway I've solved with regular expressions ;-)

Thank you
  • gulp's Avatar
  • gulp
  • Free Extensions
  • 72 posts
  • Karma: 0
The administrator has disabled public write access.
Good luck with the site

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers