-
AuthorPosts
-
sanitarac Friend
sanitarac
- Join date:
- March 2010
- Posts:
- 24
- Downloads:
- 4
- Uploads:
- 9
- Thanks:
- 9
- Thanked:
- 1 times in 1 posts
April 23, 2012 at 11:24 am #176398Hi there!
Im planing to put translation to the website but there is a problem that K2 component is using JA templates for displaying nice articles, so if i translate files that are here:
ja_tiris_blog and ja_tiris i will have only one translation.
is it possible to make translation file like K2 has like language *ini files?or simple question…
How to make language *ini files for template ja_tiris_blog and ja_tiris?
Thank you!
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
April 23, 2012 at 3:52 pm #449793Could you give me example for your purpose on demo page?
sanitarac Friendsanitarac
- Join date:
- March 2010
- Posts:
- 24
- Downloads:
- 4
- Uploads:
- 9
- Thanks:
- 9
- Thanked:
- 1 times in 1 posts
April 23, 2012 at 7:38 pm #449838Here:
http://www.joomlart.com/demo/#joomla17-templates.joomlart.com/ja_tirisAs u can see read more and comments can not be changed if i put another language in K2!
Mine language is Croatian and perhaps will be more than one language…
I have found location of words, they are here: templatesja_tirishtmlcom_k2templatesja_tiris_blog OR ja_tirisDIRECT EXAMPLE:
C:xampphtdocsbrankotemplatesja_tirishtmlcom_k2templatesja_tirisitem.php (1 hits)
Line 486: <span class=”itemNavigationTitle”><?php echo JText::_(‘More in this category:’); ?></span>
C:xampphtdocsbrankotemplatesja_tirishtmlcom_k2templatesja_tiris_blogitem.php (1 hits)
Line 486: <span class=”itemNavigationTitle”><?php echo JText::_(‘More in this category:’); ?></span>What i want is the word “More in this category” to be changed when i change language file!
If i change the language, like i did nothing happens because i don`t have language file for this. It is not in K2 or somewhere else….
Tell me how to make it!khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
April 24, 2012 at 8:04 am #449917I found the code in en-GB.com_k2.ini
K2_MORE_IN_THIS_CATEGORY="More in this category:"
So you replace the code from templatesja_tirishtmlcom_k2templatesja_tiris_ blog and ja_tiris
More in this category:
with
K2_MORE_IN_THIS_CATEGORY
Now, you can translate the text by change
K2_MORE_IN_THIS_CATEGORY="More in this category:"
in your translated fileStork11 FriendStork11
- Join date:
- March 2011
- Posts:
- 2273
- Downloads:
- 0
- Uploads:
- 142
- Thanks:
- 55
- Thanked:
- 431 times in 393 posts
April 24, 2012 at 8:21 am #449924<em>@sanitarac 315625 wrote:</em><blockquote>Here:
http://www.joomlart.com/demo/#joomla17-templates.joomlart.com/ja_tirisAs u can see read more and comments can not be changed if i put another language in K2!
Mine language is Croatian and perhaps will be more than one language…
I have found location of words, they are here: templatesja_tirishtmlcom_k2templatesja_tiris_blog OR ja_tirisDIRECT EXAMPLE:
C:xampphtdocsbrankotemplatesja_tirishtmlcom_k2templatesja_tirisitem.php (1 hits)
Line 486: <span class=”itemNavigationTitle”><?php echo JText::_(‘More in this category:’); ?></span>
C:xampphtdocsbrankotemplatesja_tirishtmlcom_k2templatesja_tiris_blogitem.php (1 hits)
Line 486: <span class=”itemNavigationTitle”><?php echo JText::_(‘More in this category:’); ?></span>What i want is the word “More in this category” to be changed when i change language file!
If i change the language, like i did nothing happens because i don`t have language file for this. It is not in K2 or somewhere else….
Tell me how to make it!</blockquote>
Hello sanitarac,It’s an issue of JA Tiris. I have raised it as a bug @ http://pm.joomlart.com/browse/CUSSER-476. This should be fixed in the next version release.
Best regards.
-
AuthorPosts
This topic contains 5 replies, has 3 voices, and was last updated by Stork11 12 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum