Youjoomla Support Forums (
-   YJSG Template Framework Plugin (
-   -   New feature: add lang shortcut (

openweb 09-03-2014 11:00 AM

New feature: add lang shortcut
Add lang shortcut so we can use a joomla languague var in modules, articles, etc.


Are you sure your are posting in product assigned forum?: Yes

What is your CMS version?: Joomla 3.x

MySQL Version: 5.x

PHP version: 5.x

Link to installation: private

Have you edited any files? If yes tell us which ones.: N/A

Is this personal or client website?: Personal

neo 09-03-2014 11:10 AM

those should not be in the plugin
they can be added to a template lang file only if template demo has been modified to feature different lang string from default joomla component content.

otherwise you would need to add custom ones.

what we might do is this instead

YJSG_READ_MORE="Read more"

and there are few more that are already in
Screenshot by Lightshot

openweb 09-03-2014 11:28 AM

I think we are talking about different things

I'm talking about a shortcode.
{lang XXXXXXX}
that will be replaced with JText::__('XXXXXXX') by the framework.

We have this in a custom plugin made by us and is very effective.
It saves us a lot of work when building multilangue sites.

Image if you want to make a article/module that is multilangue, you could use that shortcodes (with custom languague overrides if needed) and create only a multilangue article/module :) instead of making 1 article/module for each languague you have in the site.

It's a feature suggestion not a bug fix

All times are GMT -4. The time now is 06:49 PM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.