Multiple languages > Add the possibility to add/remove languages after site is launched

jeroendesloovere's Avatar

jeroendesloovere

08 Sep, 2011 11:43 AM

It would be lovely that users (or persons with the wright rights) can add/delete languages fast.

Where can I find the setting in the code for multiple languages?

  1. Support Staff 1 Posted by tijs on 09 Sep, 2011 02:45 PM

    tijs's Avatar

    Jeroen,
    Well you can add it by altering the settings, but it isn't that easy.

    First you should create an array with all the languages you want. eg:
    $var = array('nl', 'en', 'fr', 'es', ...) Then you should serialize it:
    echo serialize($var);

    The go to your database and run
    UPDATE modules_settings SET value = "<insert string here>" WHERE name = "languages" AND (module = "core" OR module= "locale");

    This will add the languages, through te backend you can set them as active and posisble redirect-languages.

    When that is done you should copy the pages from one language to all new languages, otherwise the pages-module won't work. This can be done by opening the copy-action. Which can be found on: http:///private/nl/pages/copy?from=&to=

  2. 2 Posted by jeroendesloover... on 14 Sep, 2011 06:17 AM

    jeroendesloovere's Avatar

    Tx, easy.

    Is Fork putting a function for this in the core, under "settings"? Or will this always be for developers?

  3. Support Staff 3 Posted by tijs on 14 Sep, 2011 06:52 AM

    tijs's Avatar

    Will be added into the core.

  4. 4 Posted by Sergey on 18 Sep, 2011 11:49 AM

    Sergey's Avatar

    Please, add Russian language support, want to test this CMS.

  5. 5 Posted by PLum on 08 Dec, 2011 03:09 PM

    PLum's Avatar

    Hello - and its still no easy "web interface" possibility to add language ?
    Polish for example ?

  6. 6 Posted by Alexander on 03 Apr, 2012 10:22 PM

    Alexander's Avatar

    Yes. I need to add new languadge too. No news?

  7. 7 Posted by jeroendesloover... on 09 Jul, 2013 08:43 AM

    jeroendesloovere's Avatar

    Will be integrated soon.

  8. 8 Posted by zeday on 05 Feb, 2014 01:19 PM

    zeday's Avatar

    can add Indonesian language to this CMS because it was perfectly CMS that i most used

  9. 9 Posted by Juan on 24 Mar, 2014 12:38 AM

    Juan's Avatar

    Hi,
    if you are not a dev. or porgrammer but like to do your own little things like installing your own cms, how can we update tis to our fork with 1 language and after a mont you want to add antoher language? and you made the single installation for 1 language?
    thx

  10. 10 Posted by Philip Skinner on 07 Apr, 2015 07:16 PM

    Philip Skinner's Avatar

    FFS, seriously? I'm regretting doing this project with Fork now, its like some half arsed half finished project.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac