How to translate?

This topic contains 17 replies, has 6 voices, and was last updated by  Paolo 9 years ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #3376

    Chintia Pane
    Free User
    Post count: 23

    Just wanted to know – if I want to translate language files to my language – do I need to modify .po and .mo files from geodirectory-languages directory?
    I tried but my new translations are not showing up and still shows in english

    my wordpress instalation is in Latvian language – not in english. does it matter?

    Thank you!

    #3380

    loading…
    Free User
    Post count: 44
    #3434

    Chintia Pane
    Free User
    Post count: 23

    Can anyone tell me – how to make work translated .po and .mo files? Please!
    It looks like support is not answering this question.
    Maybe someone from users can help me?

    Thank you!

    #3472

    loading…
    Free User
    Post count: 44

    Dear Chintia!

    Try this:

    • Go to pluginsgeodirectorygeodirectory-languages folder.
    • Open the geodirectory-en_US.po file with POedit.
    • In POedit go to Files > Save As..
    • Save the file as: geodirectory-xx_XX.po <- Replace the xx_XX with your own language’s shortcode!
    • Now, you can translate the texts inside the file with POedit. After you done, save the file.
    #3473

    Paolo
    Site Admin
    Post count: 31206

    remember to upload the new language files (both po and mo) in the same plugin folder where you downloaded the geodirectory-en_US.po and to change in wp-config.php

    define (‘WPLANG’, ”);

    to

    define (‘WPLANG’, ‘xx_XX’); <- Replace the xx_XX with your own language’s shortcode!

    #3483

    Chintia Pane
    Free User
    Post count: 23

    Yes, now everything works fine!
    The problem was in wp-config.php file.

    Thank you for your help!

    #3516

    Paolo
    Site Admin
    Post count: 31206

    Glad you solved!
    Thx

    #3884

    dededadou
    Free User
    Post count: 37

    Hello,

    I have the same problem as Chintia. I downloaded in.., I did the translation and when I replace the file on my server nothing happens …

    help!

    #3919

    Paolo
    Site Admin
    Post count: 31206

    Hi,
    this is the list of steps to follow to translate the plugin:

    • Go to pluginsgeodirectorygeodirectory-languages folder.
    • Open the geodirectory-en_US.po file with POedit.
    • In POedit go to Files > Save As.. >> Save the file as: geodirectory-xx_XX.po <- Replace the xx_XX with your own language’s shortcode!
    • Translate the texts inside the file with POedit. After you done, save the file.
    • It will create a geodirectory-xx_XX.po and geodirectory-xx_XX.mo files, upload them BOTH on pluginsgeodirectorygeodirectory-languages
    • Edit your wp-config.php file and set define (‘WPLANG’, ‘xx_XX’); <- Replace the xx_XX with your own language’s shortcode!

    Have you missed anything?

    #3929

    dededadou
    Free User
    Post count: 37

    Hello Paolo,

    I think I follow your roadmap.

    But still nothing changes …

    I put you a screen to see if the name of my files is good.

    Thank you for your support

    #3942

    Paolo
    Site Admin
    Post count: 31206

    that looks correct, even though the mo file should be a bit heavier if the translation was made…

    Did you change in your wp-config-php file:

    define (‘WPLANG’, ‘’);

    to

    define (‘WPLANG’, ‘fr_FR’);

    ?

    #3975

    dededadou
    Free User
    Post count: 37

    So then I think well done mod on wp-config … but the translation still does not appear …

    #3983

    dededadou
    Free User
    Post count: 37

    I take back everything I said.

    In fact I was using poedit not translate.

    And now it works fine.

    #4014

    Paolo
    Site Admin
    Post count: 31206

    glad you solved!

    #6636

    Marcus Bakke
    Free User
    Post count: 1
    This reply has been marked as private.
Viewing 15 posts - 1 through 15 (of 18 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket