VISIT AND LIKE OUR PAGE ON FACEBOOK
TAKE A LOOK AT OUR TWEETS ON TWITTER
SUBSCRIBE TO THE JOOMFREAK RSS FEED
VISIT OUR CHANNEL ON YOUTUBE

Account Details

Change your name, email, password or permanently delete your account. Change settings

We offer several ways you can get support from our experts: Support ForumKnowledgebaseNewsletter

Your Forum Posts

No posts to display.

Welcome, Guest
Username Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: translation file

translation file 19 Feb 2014 08:57 #4019

Hi,
I just installed a new polish language file for joomla 2.5 and k2 component. Bu some part of text are still in English (see attachment - www.metropolitalnetargipracy.pl/1.png). I could translate that text manually but I need to know where I will find source file
Last Edit: 19 Feb 2014 09:03 by lukasz84.

  • Posts:19
  • lukasz84
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: translation file 19 Feb 2014 10:25 #4021

Hi lukasz84!
You go to template and do as following:
templates/jf_creativia/html/mod_k2_content/LatestBlog/default.php
find to line 173: <?php echo JText::_('More'); ?>
edit into: <?php echo JText::_('K2_READ_MORE'); ?>
Last Edit: 19 Feb 2014 10:50 by isupport.

  • Posts:2940
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0

Re: translation file 19 Feb 2014 13:01 #4024

now it works!!! thanky you

PS. I have got simillar problem with translation of the frase "share this item" and "item hits" under K2 articles (in social icons area), and i cannot find solution in default.php file

  • Posts:19
  • lukasz84
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: translation file 20 Feb 2014 02:51 #4028

Yes, templates/jf_creativia/html/mod_k2_content/LatestBlog/default.php only used for images on your case
To do share this item, item hits
go to 2 files
templates/jf_creativia/html/com_k2/default/item.php
templates jf_creativia/html/com_k2/jf_creativia/item.php

Search Share this item, item hits and replace
<?php echo JText :: _ ('K2_SHARE_THIS_ITEM');?>
<?php echo JText :: _ ('K2_ITEM_HITS');?>

go to language / en-GB / en-GB.com_k2.ini
Add K2_SHARE_THIS_ITEM = 'share this item'
K2_ITEM_HITS = 'item hits'

do the same in your language.
Last Edit: 20 Feb 2014 02:52 by isupport.

  • Posts:2940
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0

Re: translation file 20 Feb 2014 09:41 #4032

I did what you wrote, but it does not working ... it is even wors then before see attachment www.metropolitalnetargipracy.pl/1.jpg

Look at my files, everything looks ok ...

templates/jf_creativia/html/com_k2/default/item.php file is under link
www.metropolitalnetargipracy.pl/comk2defaultitem.php

templates jf_creativia/html/com_k2/jf_creativia/item.php file is under link
www.metropolitalnetargipracy.pl/comk2defaultitem.php
www.metropolitalnetargipracy.pl/comk2jf_creativiaitem.php

where is the problem?

  • Posts:19
  • lukasz84
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: translation file 20 Feb 2014 10:08 #4033

Hi.
www.metropolitalnetargipracy.pl/1.jpg
Because you havent added any value (K2_ITEM_HITS...) for language file.It will show correspondence information after added.

Ex: go to folder (english language) : language / en-GB / en-GB.com_k2.ini
Add : K2_ITEM_HITS = 'item hits'

go to folder (polish language) : language / pl-PL/ pl-PL.com_k2.ini
Add : K2_ITEM_HITS = 'odsłon pozycji'

URL 2 files

www.metropolitalnetargipracy.pl/template..._k2/default/item.php

www.metropolitalnetargipracy.pl/template...f_creativia/item.php

If there's any problem, let send me ftp, user admin information directly to email This e-mail address is being protected from spambots. You need JavaScript enabled to view it , i will handle it for you.

Thanks
Last Edit: 20 Feb 2014 10:09 by isupport.

  • Posts:2940
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0
  • Page:
  • 1
  • 2
Time to create page: 1.03 seconds
Tuesday 15 October 2024

joomfreak is not affiliated with or endorsed by the Joomla Project or Open Source Matters.
The Joomla logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.