Translation problems

Turn your community with elegantly JomSocial integrated and superiorly designed website
GK User
Thu Feb 23, 2012 5:16 pm
Hi,


I have problems whit translating the item content see picture:

Capture1.JPG



And also the comment form i cant translate.

Untitled-2.jpg



I searched in every ini file but cant find it, can somebody help?
User avatar
Senior Boarder

GK User
Fri Feb 24, 2012 11:22 am
Somebody out there that can help me i need support
User avatar
Senior Boarder

GK User
Fri Feb 24, 2012 11:25 am
What is your K2 version ?
User avatar
Platinum Boarder

GK User
Fri Feb 24, 2012 11:31 am
K2 v2.5.4
User avatar
Senior Boarder

GK User
Fri Feb 24, 2012 11:52 am
Is there a possibility to translate them in the sql table`s?
User avatar
Senior Boarder

GK User
Fri Feb 24, 2012 11:58 am
Firstly elveSocial custom style support old K2 so you might have a lots of problems with styles or with language strings. Read below for more information;

Find File: \language\en-GB\en-GB.com_k2.ini

Line 23 - K2_BE_THE_FIRST_TO_COMMENT="Be the first to comment!"
Line 60 - K2_FONT_SIZE="font size"
Line 105 - K2_RATE_THIS_ITEM="Rate this item"

Line 84 - K2_MESSAGE="Message"
Line 54 - K2_ENTER_YOUR_MESSAGE_HERE="enter your message here..."
Line 89 - K2_NAME="Name"
Line 55 - K2_ENTER_YOUR_NAME="enter your name..."
Line 51 - K2_EMAIL="Email"
Line 53 - K2_ENTER_YOUR_EMAIL_ADDRESS="enter your e-mail address..."


If you are using elveSocial template which has support/custom style for old K2 , new version of K2 uses language strings as above.

So following is what you can do.
Delete com_k2 folder which is a custom style for K2 located in "\templates\gk_elvesocial\html\com_k2\" so K2 can load its own style which above language changes will take place.
Or
Go through every single file under above folder and change language strings to K2 2.5 style such as below.

Example:
From this <?php echo JText::_( 'Comment' );?>
Changed to this <?php echo JText::_('K2_MESSAGE'); ?>

See you around...
User avatar
Platinum Boarder

GK User
Fri Feb 24, 2012 12:06 pm
Thanks it works i just delete the folder and it work now thanks, have a nice one!
User avatar
Senior Boarder

GK User
Fri Feb 24, 2012 12:15 pm
No problem at all,

See you around...
User avatar
Platinum Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.