Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [jtext]

The tag has no usage guidance.

1
vote
1answer
35 views

Language Constants not being replaced in JLayout

I am trying to use Jlayout in a plugin I am writing and everything works fine except that the Language Constants in the layout file are not being replaced. My call to render the layout is; $layout = ...
2
votes
1answer
82 views

Using language constants in external file

How can I use language constant like JText::_('MY_STRING_FROM_INI_FILE') in external file? UPD: I include joomla system files require_once JPATH_BASE . '/includes/defines.php'; require_once ...
2
votes
2answers
801 views

How to rewrite JText to get my custom text translations from Database and not from files

I managed to rewrite system plugin "Language Manager", so now it saves texts for different languages to Database (DB). Now I do not know how to rewrite JText (that is present across all the ...
3
votes
1answer
385 views

JText - multilingual string order

I have an extension that displays the time a shout was posted, for example: 1 day ago This string is generated in my helper like so: $num . ' ' . JText::_('SHOUT_TIME') . ' ' . JText::_('...