This topic has 18 replies, 7 voices, and was last updated 10 years by Abe.

  • Author
  • #68
     sasupo
    Participant

    Hi i did translate the .po and .mo files with Poedit and uploaded it to /wp-content/themes/sweetdate/languages but nothing changed? Language is still Eng…

    What I am doing wrong?

    #76
     SQadmin
    Keymaster

    Hi,
    To translate the theme in your language, firstly you need to
    download and install wordpress in your language here: http://codex.wordpress.org/WordPress_in_Your_Language

    or if you want to update your existing install:
    1. Search and save WP language files you need at the link mentioned above.
    2. Login to your FTP server where WordPress is installed.
    3. Navigate to /wp-content and create a new folder named /languages.
    4. Upload your language files (ie: de_DE.po, de_DE.mo) to the /languages directory.
    5. Navigate to the root directory and edit wp-config.php.
    6. Replace define(‘WPLANG’, ‘en_US’); with define(‘WPLANG’, ‘de_DE’); and save changes.

    For theme string translation please use POEDIT or codestyling-localization plugin

    If you use poedit, put your newly created files in wp-content/sweetdate/languages.
    If you use codestyling-localization plugin you don’t have to copy any files, everything is done trough admin panel.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #78
     sasupo
    Participant

    Hi,

    our WP is already in our language, Slovenian sl_SI, the same thing i did with the theme files, I translate it with poedit, uploaded in wp-content/sweetdate/languages, but nothing happen on frontend?

    in wp-content/sweetdate/languages are now two language files en_US and sl_SI is this maybe a problem?

    #80
     SQadmin
    Keymaster

    Your admin language is Slovenian?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #81
     sasupo
    Participant

    Yes, slovenian.

    #84
     SQadmin
    Keymaster

    It should be fine. Make sure you have translated all strings.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #9077
     frenzzy
    Participant

    I edited the the en_US.po file where I replaced words like ‘add a friend’ with ‘add a buddy’ But there was no any visible change after uploading. There a way one can edit some around this?
    Thanks

    #9079
     frenzzy
    Participant

    would appreciate your help. Thanks

    #9173
     Abe
    Keymaster

    Hi, You do not have to edit .po file. You have multiple options to translate wordpress themese:
    – using Poedit software by translating the .po file and will result a .mo file that goes to sweetdate/languages/ folde

    – simpler way with Codestyling Localization plugin. this will generate the .mo file for you by clicking the button after you translate all strings

    Cheers

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #9179
     studiblog
    Participant

    By the Way… The German Language file is Crap… someone did a great joke translating this into bavarian “Slang” instead right german 😉

    #9210
     Abe
    Keymaster

    Yeah we have been told, that is why we removed it from 2.3.1. Please contribute if you have a good version

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #9214
     frenzzy
    Participant

    Hi tried Localisation plugin but the text I edited didn’t reflect.
    by the way I am trying to edit some word in the original English.
    especially in the registration file. I would like to edit “Registering for this site is easy, just fill in the fields below and we’ll get a new account set up for you in no time.” to “Register Now” also change add friend to add buddy. Is this achievable via the language file?

    #9219
     kuits
    Participant

    Yeah… this theme language file dont replace all strings…. if i translate it, then it replace only some strings, but if i translate buddypress language file too, then its better… BUT still… i get new problems. Some info is gone now

    #9261
     Abe
    Keymaster

    Hi,
    – “Registering for this site is easy, just fill in the fields below and we’ll get a new account set up for you in no time.” is found in Buddypress plugin. Just go to Buddypress plugin from Codestyling localization, add you language, rescan files, search for the string, translate and click to generate the .mo file.
    – “Add friend” also belongs to Buddypress

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #9262
     Abe
    Keymaster

    Hi, It is a normal behaviour to have strings belonging to different plugins since those files in the theme are in fact template files from plugins that are overriding default plugin functionality and their strings are kept

    Let us know what strings you can’t find

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #9376
     frenzzy
    Participant

    I have done this and it is not working. I just want to edit the current language files and replace those words with my words. e.g where I have ”Registering for this site is easy, just fill in the fields below and we’ll get a new account set up for you in no time.” to ”Register now” and ”Add friend” to ”Add Buddy”.

    Not translating to another language per-say. Just the default en_US language files. Would appreciate any assistance.

    #9460
     Abe
    Keymaster

    Hi, before I submitted my answer I just did that so there is no way it doesn’t work.
    Steps:
    – go to Buddypress plugin from Codestyling localization
    – add EN_US language if it doesn’t exist
    – rescan files
    – search for the strings and translate them
    – click to generate the .mo file.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #10466
     eureka2009
    Participant

    Hi,
    I Robert I did everything you mentioned on June 27, 2013 at 12:01 #76
    however on a persons profile the about me remains in English.
    On the activity page everything remains in English.

    and for some reason when I go into internet explorer the “add friends, private message, and public message” show up in Spanish. The same thing happens if I use the iphone.

    Please take a look at it and advice me on what I should do.

    here is the page.
    http://www.eurekachicago.com/orange

    Thank you.

    #10670
     Abe
    Keymaster

    Hi, Your fields are still in English, so you need to rename the English fields from Users – Profile fields.
    For the buttons in Spanish.. isn’t that the way they should be?
    Also you need to translate Buddypress plugin into your language

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

Viewing 19 posts - 1 through 19 (of 19 total)

The topic ‘Translating the theme’ is closed to new replies.

Log in with your credentials

Forgot your details?