txt_n_ bad to translate
Steps to reproduce
Discussions
  • Maverick

    Pasting the forum post content for future use.

    'is there a possibility to add some words in front of the time variables "N" of this following TXT flags

    TXT_N_MINUTES_AGO=minutes ago
    TXT_N_HOURS_AGO=hours ago
    TXT_N_DAYS_AGO=days ago
    TXT_N_WEEKS_AGO=weeks ago
    TXT_N_MONTHS_AGO=months ago

    what i mean is something like this (sample for german language)
    TXT_N_MINUTES_AGO=some-words-before XX some-words-after
    XX should be the time/minutes/hours/years ...

    i have seen something like this at the language files from the component "jomsocial". They have a variable like this %1$s.
    example from the language EN file of jomsocial:
    CC LAPSED YEARS=%1$s years
    now it is very easy to translate this flags in to german language.
    my jomsocial translated sample:
    CC LAPSED YEARS=vor %1$s Jahren

    --
    Problem with year and years:
    i have checked the language file (1.5.24) and found only the singular (TXT_YEAR=Year) flag, but no flag for plural years.
    1 Year ago Maverick

Powered by Bug Tracker

Random Poll

Best web hosting providers
My favourite web hosts are HostGator and linode.com. Please vote for your favourite webhost. You can vote on multiple options if you have experience with multiple web hosts.
Others, please enter here:
1686949729 [{"id":"519","title":"Hostgator","votes":"1037","pct":"21.07","type":"x","order":"0","resources":[{"type":"image","option_id":"519","value":"20120410161341-hostgator.gif"},{"type":"url","option_id":"519","value":"http:\/\/secure.hostgator.com\/cgi-bin\/affiliates\/clickthru.cgi?id=corejoomla"}]},{"id":"520","title":"Linode.com","votes":"342","pct":"6.95","type":"x","order":"0","resources":[{"type":"image","option_id":"520","value":"20120410161349-linode.png"},{"type":"url","option_id":"520","value":"http:\/\/www.linode.com\/?r=652323fa68f4a64473ae7b0d060ed7cd0af86566"}]},{"id":"521","title":"Godaddy","votes":"671","pct":"13.64","type":"x","order":"0","resources":[{"type":"image","option_id":"521","value":"20120410161357-godaddy.gif"}]},{"id":"522","title":"BlueHost","votes":"520","pct":"10.57","type":"x","order":"0","resources":[{"type":"image","option_id":"522","value":"20120410161406-bluehost.gif"},{"type":"url","option_id":"522","value":"http:\/\/www.bluehost.com\/track\/corejoomla"}]},{"id":"523","title":"HostMonster","votes":"379","pct":"7.70","type":"x","order":"0","resources":[{"type":"image","option_id":"523","value":"20120410161410-hostmonster.jpg"},{"type":"url","option_id":"523","value":"http:\/\/www.hostmonster.com\/track\/corejoomla"}]},{"id":"524","title":"Yahoo","votes":"501","pct":"10.18","type":"x","order":"0","resources":[{"type":"image","option_id":"524","value":"20120410161416-yahoo.gif"}]},{"id":"525","title":"JustHost","votes":"287","pct":"5.83","type":"x","order":"0","resources":[{"type":"image","option_id":"525","value":"20120410161424-justhost.png"}]},{"id":"526","title":"Lunarpages","votes":"297","pct":"6.04","type":"x","order":"0","resources":[{"type":"image","option_id":"526","value":"20120410161431-lunarpages.gif"},{"type":"url","option_id":"526","value":"http:\/\/www.lunarpages.com\/id\/corejoomla"}]},{"id":"527","title":"Other","votes":"870","pct":"17.68","type":"x","order":"0","resources":[]}] ["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"] gpie 200 200 /demos/polls/vote/182-best-web-hosting-providers.html No answer selected. Please try again. Thank you for voting. Answers Votes ...

25% Off Coupon

Joomla runs best on HostGator. Get 25% off on your hosting bill at hostgator with coupon code COREJOOMLA25OFF.
Sign up now.

Newsletter

We do not spam your mailbox. Product updates/offers, security updates etc. will be sent.
captcha
Terms and Conditions