HOWTO fix language issues in K2Store

In 3.5, we added a few more strings to the K2Store.

This tutorial will help solve some of the translation/language related issues.


1. Did you download and installed the translations for your language from our website ?

If not, go to http://k2store.org/translations.html

Do you see your language listed?

If your language is 100% complete, go head and download the language pack and install it using the Joomla installer. Yes you read it correct. Via the JOOMLA installer.

If your language is not complete, please translate the strings by following the guide at http://k2store.org/support/documentation/item/41-how-to-translate-k2store-in-your-language?.html

2. Did you set your site Default language to your language in Language manager?

Go to Joomla administrator->Extensions->Language Manager

Set your language as the default one (NOTE: You should have installed your Joomla language pack (NOT K2Store language pack) before doing this)

Assuming that Spanish is your language. Set Spanish as your Default Language.

Note down the language code of yours. For example, the language code for English (UK) is en-GB, Spanish = es-ES. (Google to know your language code)

Now go to Joomla admin->Components->J2store. Does all text in your language?

If yes, you are fine and carry on with your work.

If not all strings are translated, go to step 3

3. Translate the missing/untranslated strings

Open the /language/yourLanguage-Code/yourLanguage-Code.com_k2store.ini

if you are using french, then your language code is fr-FR and you will be opening the /language/fr-FR/fr-FR.com_k2store.ini

you will find untranslated strings like

;K2STORE_CHECKOUT_OPTIONS="Checkout Options"

What you have to do is:
Remove the semicolon and add your translation. So the translated string should look like
K2STORE_CHECKOUT_OPTIONS="your translation"

NOTE: the semicolon is removed.

Now do the same for administrator language files located in

/administrator/language/yourLanguage-Code folder

/administrator/language/yourLanguage-Code/yourLanguage-Code.com_k2store.ini handles the language for the J2store administration area.

IMPORTANT: All J2store language strings will start with K2STORE_ or COM_K2STORE
if you see something like ;checkout or ;orders
DO NOT translate them. They are comments.