Elxis CMS Forum

Support => Language => Topic started by: tommy on November 02, 2014, 16:19:47

Title: Polish language - Elxis 4.2 Icarus
Post by: tommy on November 02, 2014, 16:19:47
Hi guys!

Is there possibility to set Polish language in Elxis 4.2 Icarus?
If not - do I have to translate everything by myself?
And is that possible to write article in 2 or 3 languages so they can be further switched when changing languages?

Cheers  8)
Title: Re: Polish language - Elxis 4.2 Icarus
Post by: datahell on November 02, 2014, 18:23:02
Elxis 4.x is not yet translated into Polish.

Currently available languages are: Arabic, Bulgarian, German, Greek, English, Spanish, Farsi, French, Croatian, Italian, Portuguese, Serbian, Serbian latin, Russian, Turkish and Ukrainian.

To make available Elxis into Polish copy the English language folder, rename it to Polish and translate it. When ready zip the language files and send them to Elxis Team or attach the zip package into this post.

language/en/
language/pl/
Title: Re: Polish language - Elxis 4.2 Icarus
Post by: tommy on November 02, 2014, 18:45:45
OK, and how about a polish flag?
Title: Re: Polish language - Elxis 4.2 Icarus
Post by: datahell on November 02, 2014, 19:08:48
Language flags and other language info already exist in Elxis for all languages in the world. Elxis has built-in support for 148 languages.

The language flags are located here: includes/libraries/elxis/language/flags/

Elxis languages database: includes/libraries/elxis/language/langdb.php

Just do the Polish translation, upload your language files into language/pl/ and Elxis will automatically detect the new language.
Title: Re: Polish language - Elxis 4.2 Icarus
Post by: tommy on November 02, 2014, 19:17:19
Great. Standard Windows notepad will be enough to do this?
Title: Re: Polish language - Elxis 4.2 Icarus
Post by: datahell on November 02, 2014, 19:53:03
Use a better text editor. There are many free ones, you can use pspad (http://www.pspad.com/), notepad++ (http://notepad-plus-plus.org/), sublime (http://www.sublimetext.com/), etc... I advise you ps pad, it is simple and ultra fast.

Important: You must save the translated language files as UTF-8 without BOM characters.
Title: Re: Polish language - Elxis 4.2 Icarus
Post by: tommy on November 03, 2014, 19:43:32
One more question:

Where can I translate the "Contact" form? And generally plugins.
I cannot find it. Just have translated First and Last Name, but I think these two were in some other file...
Title: Re: Polish language - Elxis 4.2 Icarus
Post by: datahell on November 03, 2014, 21:44:53
Folder "language" contains the language files for the most of the built-in extensions. Some others are inside the extensions folders themselves (this is also valid for all third party extensions).

Plugins are component's Content specific extensions and so are located here:
components/com_content/plugins/

Especially for plugin Contact the language files are here:
components/com_content/plugins/contact/language/