Hello there! Welcome to Youjoomla Support Forums

We are Web Development Company specializing in Joomla Templates , Joomla Extensions and WordPress Themes development . You are not able to see some forum threads due to your memberhip level. To unlock all forums and special customer support please take few moments to signup . If you are just searching for free joomla templates , or free joomla extension support simply head to our Free Joomla Support forums and open a new thread. Our moderators will help you as soon as possible. To spead up the response time please take few seconds and go over forum rules

Have fun!

New feature: add lang shortcut

09-03-2014, 11:00 AM
# 1 (permalink)
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
09-03-2014, 11:10 AM
# 2 (permalink)
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
09-03-2014, 11:28 AM
# 3 (permalink)
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
Thread Tools
Display Modes

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

Members Login