All the text you see in VikAppointments can be easily translated from the language files of the component and modules by using the native Joomla translation functions.

The translations can be applied to the front site and to the Administrator section as well. All the language definitions for the extensions are located in the following directories:
/administrator/language/ (back-end, system)
/language/ (front-end, modules)

Unless you have a good text editor for .ini files, we recommend using our Online .INI Translator. It will help you translating components and modules into other languages avoiding syntax errors.

Both the above directories contain sub-folders, one for each language installed in your Joomla. In this example we assume that our Joomla has two languages installed, English and Spanish (from the Administrator section, Extensions - Language Manager we can see all the Languages installed) and we want to translate the component and one module from English into Spanish. The above directories will contain in our example the folder en-GB and the folder es-ES. That is where the .ini language files are located.

With the .ini language files we can translate all the definitions of VikAppointments and modules. View Details, Starting From, Book Now, Order Status, etc.. are examples of translatable definitions. If we wish to have these words translated in other languages, we have to translate them manually.

These are the steps to follow for creating a Spanish translation file for VikAppointments:
1. Copy the file /language/en-GB/en-GB.com_vikappointments.ini into the folder /language/es-ES/
2. Rename the file as /language/es-ES/es-ES.com_vikappointments.ini
3. Open the file es-ES.com_vikappointments.ini and translate all the English definitions into Spanish
4. Save the changes.

The INI file structure has changed since Joomla 1.6, make sure you respect the syntax by opening and closing the quotes:

LANGKEY="Translated Text"

Make sure you are also using a good text editor or your translation file might not be saved with the right encoding and some special character could not be readable from the site.

In case we also want to translate the Administrator side of VikAppointments, we have to do the same thing but the files this time will be located in /administrator/language/

We might also want to translate the Cart module of VikAppointments to change words like "Order Now".
The module language file is the following: /language/en-GB/en-GB.mod_vikappointments_cart.ini and also here we have to duplicate the file in the same way as above.

Last Update: 2020-01-27 11:06
Helpful?
100% of people found this helpful.
This site uses cookies. By continuing to browse you accept their use. Further information