change the language in K2store

Professional Joomla restaurant template comes with a custom animated modules and advanced typography elements.
GK User
Sun Apr 28, 2013 7:04 pm
Hi Gavick Team!

I would like to change the language of all K2 store features (e.g add to cart, order, shopping cart, checkout). How is it possible? Which files do I modify?

thanks
User avatar
Senior Boarder

GK User
Sun Apr 28, 2013 7:31 pm
Hi,
few lines to translate you will find here: administrator/language/en-GB.tpl_gk_restaurant.ini
and rest (most of) in language/en-GB/en-GB.com_k2store.ini

K2store is component so try to find your language on the project website.
User avatar
Platinum Boarder

GK User
Sun Apr 28, 2013 8:08 pm
Thanks Pawel F!

What do you mean ''to find my language on the project website'' ? I 've downloaded and installed my langauge from http://getk2.org/extend/translations but honestly I have no clue how to use it... I wish that could solve my translation issues automatically! :-)
User avatar
Senior Boarder

GK User
Tue Apr 30, 2013 8:58 pm
1) Which language you use?
2) those Language from your links was for K2 not for K2store !
Check here: http://k2store.org/translations.html

p.s.
Send me a full access to back-end via PM I will try help you as much I can.
User avatar
Platinum Boarder

GK User
Sun May 05, 2013 9:22 am
There are few steps you should always do (Like I did on your website)

1) Install your language (swedish) using joomla installator: administrator/index.php?option=com_installer&view=languages

2) Than you can install any other translation for components! Because first step create a new lang in your system.

3) I've installed : Swedish (Sweden) language pack for K2 (http://getk2.org/extend/translations)

4) Now you should copy lang file from en-GB to sv-SE, I had used extplorer component but you can use simple FTP client

5) Than rename file name from: en-GB.com_k2store.ini --> sv-SE.com_k2store.ini (I did it for you)

6) Now you can translate this file from: language/sv-SE/sv-SE.com_k2store.ini (sorry, but I dont know swedish)
User avatar
Platinum Boarder

GK User
Sun May 05, 2013 9:28 am
p.s.
Next you should also translate few strings/words from our template lang file : sv-SE.tpl_gk_restaurant.ini

there should be on the beginning of file:

Code: Select all
TPL_GK_LANG_LOGIN="Login"
TPL_GK_LANG_LOGOUT="Your account"
TPL_GK_LANG_CLOSE="Close"
TPL_GK_LANG_REGISTER="Register"

TPL_GK_LANG_ENABLED="Enabled"
TPL_GK_LANG_DISABLED="Disabled"

TPL_GK_LANG_FB_LOGIN_TEXT="Log in with Facebook"


p.s.
If you need any more help - just ask! in new post or via PM.

REMEMBER TO USE UTF-8 CODING! in your editor!
User avatar
Platinum Boarder

GK User
Sun May 05, 2013 9:37 am
p.s.
User avatar
Platinum Boarder

GK User
Sat May 11, 2013 10:16 pm
In answer to your question asked by e-mail:
which part of my advice (tip) didn't worked because as I said before I can help you only with those elements which I understand in English. I wont do for you translation of any component/module that is not from Gavick Team. I can help you install if it exist (is available) as I did last time.

All you have to do is to check language files for those sentences which you need to translate.
Use tool to search phrases in file(s).

Code: Select all
K2STORE_ADD_TO_CART="Add to cart" 
K2STORE_ITEM_PRICE="Price"
K2STORE_SHIPPING="Shipping"

etc.
was (is) in language\en-GB\en-GB.com_k2store.ini which I renamed and copied for you to fit to your lang code language\sv-SE\sv-SE.com_k2store.ini - so check this file again, please.
User avatar
Platinum Boarder


cron