1 (edited by RedStar 2012-09-11 19:01:48)

Topic: Add new language

Hi,

Having an embarrassing problem. How do I add a new language pack to monstra so that it becomes available in dropdown in admin?
Is this done automatic by monstra? (checking for *.lang.php in the language directories?)

I have added some language files but I can not select in admin dropdown.....:(

Re: Add new language

You must create translations files for all monstra box plugins.

Is this done automatic by monstra? (checking for *.lang.php in the language directories?)

When you will create a language file for Monstra System Plugin (/plugins/box/system/languages/) it will be available in dropdown in admin

Monstra Loves You! Give some love back!

Re: Add new language

Awilum wrote:

You must create translations files for all monstra box plugins.

Is this done automatic by monstra? (checking for *.lang.php in the language directories?)

When you will create a language file for Monstra System Plugin (/plugins/box/system/languages/) it will be available in dropdown in admin


Is just a blank lang.php needed to start translate Monstra ?

4 (edited by RomanArt 2012-11-23 01:16:17)

Re: Add new language

clowertown wrote:
Awilum wrote:

You must create translations files for all monstra box plugins.

Is this done automatic by monstra? (checking for *.lang.php in the language directories?)

When you will create a language file for Monstra System Plugin (/plugins/box/system/languages/) it will be available in dropdown in admin


Is just a blank lang.php needed to start translate Monstra ?

for example u want to add new language "Russian" lets see what we should do.
1) go to "plugins/box/system/languages/"
2) copy file "en.lang.php" past it there - rename to "ru.lang.php"
3) open it and edit ( left side is system language, right side is ur language\translation )

* u dont have to add ur language anywhere, plugin will find it by itself, all u need to do its what i already explaned *
good luck smile

(с) Roman Art
So far So good wink

RomanArt's Website

Re: Add new language

Lovelly RomanArt

I will start right away for Swedish lang file wink

6 2012-11-23 01:46:58

Re: Add new language

will be more lovelly clowertown, if u will share ur language pack here, after u complite it smile

(с) Roman Art
So far So good wink

RomanArt's Website

Re: Add new language

Yes RomanArt file will soon be shared wink

I do have a problem coz Swedish contains 3 letters whit  2 dot above  .

See my sample picture http://www.abovethecandystore.nu/aoa.JPG

I just displays a box where the letter "A" whit 2 dots above should be. Somewhere I need to tell Monstra to display site as it should be.

8 2012-11-23 02:59:11 (edited by RomanArt 2012-11-23 02:59:48)

Re: Add new language

well in firefox and internet explorer 6 it prints a square box instead of those 3 letters

http://www.abovethecandystore.nu/aoa.JPG
read this(link)

(с) Roman Art
So far So good wink

RomanArt's Website

9 2012-11-23 03:50:04

Re: Add new language

Yes that JPG is a sceenshot of my trying the lang file on my site

Re: Add new language

i know, i gave u the link check it, so maybe u will fix ur problem

(с) Roman Art
So far So good wink

RomanArt's Website

11 2012-11-23 07:06:30

Re: Add new language

So if swedish letters is not showing correctly on a UTF8 encoded site, then check the source file so the FILE is encoded with charset UTF8 aswell, then it should work.

Monstra Loves You! Give some love back!

12 2013-03-07 07:32:50

Re: Add new language

Hi. I started the translation, as described in the lang files renamed, translated and copy the appropriate folders. In the system settings menu, I chose the new language what I translated it, but nothing happens ... (Version 2.2.0 beta). I missed something?

13 2013-03-07 10:54:18

Re: Add new language

Lez,
1) What language ?
2) ??.lang.php ?
3) Try to delete temporary files. Admin -> Settings -> Delete temporary files

Monstra Loves You! Give some love back!

14 (edited by Lez 2013-03-07 12:02:48)

Re: Add new language

1, Hungarian
2, hu.lang.php
3, that was the problem... smile

THANK YOU!

Re: Add new language

Lez, is it ready ? I can add it to Monstra 2.2.0 Release

Monstra Loves You! Give some love back!

16 2013-03-07 23:30:53 (edited by Lez 2013-03-08 07:03:12)

Re: Add new language

I think it is ready. Where and how to send it?

17 2013-03-08 18:55:38

Re: Add new language

You can send arhive here (I will add it then) on create a pull request on github DEV branch

Monstra Loves You! Give some love back!

18 2013-03-09 12:57:39

Re: Add new language

The Monstra CMS Hungarian language files are downloadable here:
A Monstra CMS Magyar nyelvi fájlok letölthetők itt:

https://www.dropbox.com/s/1ytmr4k05n61m … _first.rar

Üdv,
Lez

19 2013-03-16 09:15:25

Re: Add new language

Lez, thanks. will add it

Monstra Loves You! Give some love back!

20 2013-09-18 00:04:53

Re: Add new language

Awilum wrote:

You must create translations files for all monstra box plugins.

Is this done automatic by monstra? (checking for *.lang.php in the language directories?)

When you will create a language file for Monstra System Plugin (/plugins/box/system/languages/) it will be available in dropdown in admin

Thanks for the help.
I'm trying to adapt the Portuguese-Brazil to Portuguese-Portugal but that file doesn't seem to have all the translations.

Log In / Registração

How can I change this on the right top of my website?

21 (edited by BiloMix 2013-10-06 20:48:25)

Re: Add new language

Hi,
I have one language bug..
I have translated 'View Site' button in the top of the administration panel, but he remain in english smile