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

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 Yesterday 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

RomanArt's Website

Re: Add new language

Lovelly RomanArt

I will start right away for Swedish lang file wink

6 Yesterday 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

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 Yesterday 02:59:11 (edited by RomanArt Yesterday 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

RomanArt's Website

9 Yesterday 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

RomanArt's Website

11 Yesterday 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.