Products
Demo
Forum
Login
Register
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
May 24, 2012, 04:04:12
Advanced search »»
JoomlaTune Support Forum
JComments component
Integration with third-party extensions
Topic:
[Solved] No Translation for Placeholders
Pages: [
1
]
Go Down
Print
Author
Topic: [Solved] No Translation for Placeholders (Read 1554 times)
0 Members and 1 Guest are viewing this topic.
wabugi
Newbie
Karma: 0
Offline
Posts: 2
[Solved] No Translation for Placeholders
«
on:
September 28, 2010, 20:34:30 »
Hello everybody!
I'm using JComments 2.2.0.0 together with Joomla 1.5.20.
I integrated JComments into one of my own components. Everything works fine exept the translation of the placeholders.
Here is an example. When viewing my component including JComments, most text of JComments looks like this: VOTE_GOOD, VOTE_POOR, ADD_COMMENT.
I just don't know why I get the placeholders displayed. I've got another component (JaggyBlog) using JComments. For JaggyBlog this problem doesn't exist.
If no solution can be found, I will just replace all placeholders with normal text. I will only use english for the website anyway.
Any idea?
«
Last Edit: September 29, 2010, 02:14:38 by smart
»
Logged
smart
Administrator
Hero Member
Karma: 160
Offline
Gender:
Posts: 2559
Re: No Translation for Placeholders
«
Reply #1 on:
September 28, 2010, 23:48:06 »
You could fix this easily by adding code:
Code: (php)
$language = & JFactory::getLanguage();
$language->load('com_jcomments', JPATH_SITE);
before calling
JComments::showComments
function.
Logged
If you use JComments, please post a rating and a review at the
Joomla! Extensions Directory
wabugi
Newbie
Karma: 0
Offline
Posts: 2
Re: No Translation for Placeholders
«
Reply #2 on:
September 29, 2010, 02:03:02 »
It works perfectly! Thank you
Logged
Pages: [
1
]
Go Up
Print
JoomlaTune Support Forum
JComments component
Integration with third-party extensions
Topic:
[Solved] No Translation for Placeholders
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Announcements
-----------------------------
=> Announcements
-----------------------------
JComments component
-----------------------------
=> General discussion
=> Suggestions, Wishlists & Feature Requests
=> Integration with third-party extensions
===> AlphaUserPoints
===> CommunityBuilder
===> K2 JComments
=> Translations
=> Bug-reports
-----------------------------
ProofReader component
-----------------------------
=> General discussion
=> Suggestions, Wishlists & Feature Requests
=> Translations
=> Bug-reports
-----------------------------
Other extensions
-----------------------------
=> Plugins
=> Modules
Loading...