?
avatar joaobsantos
joaobsantos
20 Sep 2015

Hi guys, sorry to bother but im new at this, i have this problem that in my language translation the 3 strings indicated on the image are not passing, they're returning the string title from __modules in the mysql database. I followed the problem to (/administrator/templates/isis/html/modules.php-line 63). I dont know how to put a jstring with a variable for each module... I think this is a problem becouse even in english we have files for that strings... Thx

capture

avatar joaobsantos joaobsantos - open - 20 Sep 2015
avatar mbabker
mbabker - comment - 20 Sep 2015

If that's the module's title as set in the manager, then that's expected behavior. Same concept for frontend modules applies to the admin too; the title is user input and isn't translated.

avatar joaobsantos
joaobsantos - comment - 20 Sep 2015

In previous versions it was translated, and in this version there are translation files for it, in en-GB admin files... the only thing missing is the jtext string....

avatar MAT978
MAT978 - comment - 20 Sep 2015

Nope, in previous version they were not "Translatable" except changing manually the Titles as they are admin Modules like Michael said.
Go to: Extensions -> Modules
then filter 'Administrator'

avatar joaobsantos
joaobsantos - comment - 20 Sep 2015

ok thanks for your time guys, i see what u mean... have a nice day :D

avatar zero-24 zero-24 - close - 21 Sep 2015
avatar wilsonge
wilsonge - comment - 21 Sep 2015

Closing as issue is solved :)

avatar wilsonge wilsonge - change - 21 Sep 2015
Status New Closed
Closed_Date 0000-00-00 00:00:00 2015-09-21 00:30:55
Closed_By wilsonge
avatar wilsonge wilsonge - close - 21 Sep 2015
avatar wilsonge wilsonge - close - 21 Sep 2015
avatar infograf768
infograf768 - comment - 21 Sep 2015

In fact, we DID have this feature in 2.5, but not with this string.
It was:

MOD_LOGGED_TITLE="Last Logged-in Users"
MOD_LOGGED_TITLE_1="Last Logged-in User"
MOD_LOGGED_TITLE_MORE="Last %s Logged-in Users"

Code used:

    public static function getTitle($params)
    {
        return JText::plural('MOD_LOGGED_TITLE', $params->get('count'));
    }

result:
screen shot 2015-09-21 at 09 22 43

For a reason that ignore, this was changed in 3.x...

avatar joaobsantos
joaobsantos - comment - 21 Sep 2015

Oh thank u :D Any chance they could revise this?!

avatar infograf768
infograf768 - comment - 21 Sep 2015

On it.

avatar joaobsantos
joaobsantos - comment - 21 Sep 2015

Thank u so much for your time.... have a nice day :D

avatar infograf768
infograf768 - comment - 21 Sep 2015

Please test #7925

avatar joaobsantos
joaobsantos - comment - 21 Sep 2015

Thank u so much infograf768, you are a life savior... working like a charm... One last question is this now part of joomla installation or only your branch?! im new at programming and github...

avatar Bakual
Bakual - comment - 21 Sep 2015

If the PR gets tested and PLT decides to implement it, it will be part of Joomla. But earliest at 3.5 since it's a new feature.

avatar joaobsantos
joaobsantos - comment - 21 Sep 2015

ok thx guys... thx for your work... Im hopping to learn more and more about joomla development...

avatar zero-24 zero-24 - change - 23 Sep 2015
Labels Added: ?

Add a Comment

Login with GitHub to post a comment