• Resolved FelixHalim

    (@felixhalim)


    i’ve downloaded the language master now.. where should i upload it?? i wanna upload the indonesian.. help please

Viewing 15 replies - 1 through 15 (of 20 total)
  • Hi!

    First, you need to open the lang file with PoEdit and click save once in order to get a .mo file as well. Then you need to define wp_lang in the config file. See translation guide here.

    Easy way to add the files: Add it to the parent themes /languages/ folder.

    Hard/best way: Create a child theme, copy over the alx_load function and change lang dir to the child theme. See Theme Options > Help dropdown and documentation section “Child Theme” for more info how to do.

    Thread Starter FelixHalim

    (@felixhalim)

    i’ve uploaded it.. how to activate it?

    If you see the guide I linked, it says:

    You will also need to make a change to your WordPress wp-config.php file (located in your WP root directory) with the correct language codes like the example below. If you don’t have a WPLANG entry then create one.

    define (‘WPLANG’, ‘pt_BR’);

    Also make sure you have a .po and .mo file in the languages folder.

    Thread Starter FelixHalim

    (@felixhalim)

    i’ve edited the wp-config.php and also upload it to hueman/languages.. i upload .mo and .po.. but nothing happened.. should i upload it to wp-content/languages ??

    /hueman/languages/ should be correct, unless you use a child theme.

    Are the .mo/.po named correctly?

    Thread Starter FelixHalim

    (@felixhalim)

    no i use the parent theme.. i upload .mo and .po files.. and then add define(‘WPLANG’, ‘id_ID’); on wp-config.php but nothing happened..

    Thread Starter FelixHalim

    (@felixhalim)

    wait.. in order to get .mo files i should save as the .po files? and then change the file type to All files and type .mo in the back?

    If you open the downloaded .po file with PoEdit on your computer, and simply click save once in the program with the file open, you should automatically get a .mo file created in the same folder as the .po file is in.

    Thread Starter FelixHalim

    (@felixhalim)

    hhmm.. should i delete the en_US .po and .mo ??

    You shouldn’t need to do that, I guess you could try but I don’t think it will make a difference.

    My guess would be that there is something wrong with the .mo for you, not sure though.

    Thread Starter FelixHalim

    (@felixhalim)

    i save the .po and get the.mo the file size is 3kb is it strange?

    Try this instead if all else fails: Delete the en_US.po/mo files. Rename the id_ID.po to en_US.po. Then open it, save and generate the .mo.

    Thread Starter FelixHalim

    (@felixhalim)

    nothing changed.. still same.. could you please explain the step by step process with picture so i could easily follow it..

    Try removing the line you added to wp-config:

    define('WPLANG', 'id_ID');

    There may be duplicate lines in your wp-config file, as WordPress already has an empty one in the file.

    Thread Starter FelixHalim

    (@felixhalim)

    i delete the define(‘WPLANG’, ‘id_ID’); and rename id_ID.mo and .po into en_US .mo and .po and it’s totally work!! but still there’re some english word.. how to translate it completely?

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘language’ is closed to new replies.