Export Language

Export Language

July 24, 2013
Fernando Fernando
  • Fernando
    Fernando
    Newbie 55 points

    Is it possible to export/copy language files to another fresh installation?

    July 24, 2013 at 1:46 pm
  • Thomas
    Thomas
    Newbie 53 points

    Fernando,

    you can i.e. download the existing file, refresh your installation and after that upload the file to the newly created folder.
    Or you move it to a folder on your sever which is not touched from the refresh and afterwards remove it.

    Thomas

    July 25, 2013 at 6:41 am
  • Mark Fail
    Mark Fail
    Super Guru 12,812 points

    if you edit the language file then sure, if you do it via the admin then no.

    July 25, 2013 at 7:02 am
  • Fernando
    Fernando
    Newbie 55 points

    Please, tell me how to edit the language file.

    I tried to follow this tutorial http://s.premiumpress.com/index.php?/Knowledgebase/Article/View/24/0/how-to-create-your-own-language-file

    But could not find this file language_english.php. Inside frameworok folder there is a file _laguage.php should I use this file?

    July 25, 2013 at 10:11 am
  • Thomas
    Thomas
    Newbie 53 points

    Fernando,

    if you have not done already, first create a child theme:
    Copy the “template_directory_theme” folder an rename the copy to “template_whatever-you-want”.

    Copy the “_language.php” into this new folder and rename it to “language_spanish.php” if Spanish is your language.

    Download this file, open it with html editor and replace the english terms by your translations.
    Be very carefully: each comma, semicolon and quotation mark outside the terms themselves is very important for functionality of the whole thing!

    Save the file, load it up and go to your admin panel -> Display Setup.
    Select your new child theme and save.

    Then go to General Setup -> Language where you should find spanish language in the dropdown now.

    Hope its clear?

    Thomas

    Thomas

    July 25, 2013 at 11:54 am
  • Fernando
    Fernando
    Newbie 55 points

    Thank you Thomas, it works now!

    July 25, 2013 at 1:24 pm
  • Thomas
    Thomas
    Newbie 53 points

    😀

    July 25, 2013 at 1:35 pm
  • Mark Fail
    Mark Fail
    Super Guru 12,812 points

    thanks Thomas

    July 25, 2013 at 4:11 pm
Viewing 8 posts - 1 through 8 (of 8 total)

Didn't find what you were after?

Chat with us now

or contact our support team