Translation : in which pages

This topic is: Resolved

This is a PRIVATE forum for verified users only, to view the replies/answers, you must be logged in!

Tagged: 

This topic contains 33 replies, has 4 voices, and was last updated by  argone 1 year, 6 months ago.

  • Author
    Posts
  • #7524

    argone
    Member
    Post count: 65

    hi

    I’m almost done with the customization of Elegancé 🙂

    I just have some bits of english to be translated in french.

    Could you tell me in which files they are please ?

    homepage :
    “next” “prev” page xx “of” xxx

    widget mailchimp :
    “enter your email” “submit”

    on blogpost page :

    widget Research : “Search for” “Text to search”

    under blog post :
    “Share this post” “share on twitter ” “share on facebook” “pin this post”

    “Older entry” “Newer entry”

    “You may also like”

    comment form :

    x “comments”

    “Leave a reply”

    Dates in comment form are not in the european way DD/MM/YYYY “at” + time

    “reply” “edit”

    “comment”

    “you may use these html tags and attributes”

    I think that’s all ! thank you !!

    argone
    http://atasteofmylife.fr

  • #7527

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #7532

    argone
    Member
    Post count: 65

    I am sorry but again this doesn’t help me but thank you.

    Where are these “localization files” ? on my ftp ? which folder ?

    thanks,

  • #7555

    Jacob
    Staff
    Post count: 2323

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #7557

    argone
    Member
    Post count: 65

    OK I will try to find out. I don’t really want the THEME in french, just some parts of text, hence my question.

    for my previous theme, I have changed the bits inside the adequate php files, (comments.php for example for the english parts in the comment form)

    Translating all the theme (I mean the wp menus and all that) seems a lot of work and that’s not what I want to do.

    argone
    http://atasteofmylife.fr

  • #7578

    Jacob
    Staff
    Post count: 2323

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #7592

    argone
    Member
    Post count: 65

    ok, let’s do it then ! 🙂

  • #7597

    argone
    Member
    Post count: 65

    I have copied the two mo and po files. renamed them fr_FR.mo and fr_FR.po

    when I open fr_FR.po with poedit (didn’t see “Properties” or “Catalog” in the menu by the way) I had a look at the translations already made in the file and they are fine with me.

    I have pasted both files via ftp into :

    wpcontent/themes/elegance-childtheme/languages/

    and also in

    wpcontent/themes/yeathemes-elegance/languages/

    but the words on my blog (next-previous,etc… ) are still in english.

    should I delete the en_US.mo and en_US.po files from the folders via FTP ?

    thank you

    argone

  • #7599

    argone
    Member
    Post count: 65

    should I modify also the wpconfig.php file and add fr_FR, this way ? : “define (‘WPLANG’, ‘fr_FR’);” –

  • #7622

    Jacob
    Staff
    Post count: 2323

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #7628

    argone
    Member
    Post count: 65

    My settings were already set to french language in wordpress, before I edited the mo and po files.

    No I don’t see this menu File/Edit/View… in poedit program. And as I told you I didn’t make any modification to the PO file because when I have renamed it in FR_fr the sentences in french were ok to me.

    Here’s the screenshot of my poedit screen :

    http://atasteofmylife.fr/wp-content/uploads/2015/03/Capture-d’écran-2015-03-09-à-07.19.51.png

    Could you tell me the precise path where to place these files, as I told you I have placed them in different places and this is not right….

    Please note I also want to translate the terms in the search widget and in the box share (share this story and the three blocks under)

    thank you

    argone
    http://atasteofmylife.fr

  • #7671

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #7683

    argone
    Member
    Post count: 65

    Sorry I did all this but it is still the same.

  • #7686

    argone
    Member
    Post count: 65

    In the meantime, maybe you could tell me how to translate the widget “search” and “share” which I don’t think are in the list of the p.o. file.

    thank you

  • #7745

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #7746

    argone
    Member
    Post count: 65

    ok thank you

    I will try to find someone to help with the implementation of the translation. Because it still doesn’t work as I already said in my previous post.

  • #7748

    argone
    Member
    Post count: 65

    There are two mistakes highlighted in red when I save my po file and a warning saying that this may not work well.

    here they are :
    http://atasteofmylife.fr/wp-content/uploads/2015/03/Capture-d’écran-2015-03-11-à-15.05.59.png
    and
    http://atasteofmylife.fr/wp-content/uploads/2015/03/Capture-d’écran-2015-03-11-à-15.06.19.png

    Apparently “1” hasn’t been specified in msgstr … whatever that means

    Does it help ?

  • #7753

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #7771

    argone
    Member
    Post count: 65

    ok – I have made the corrections and now I don’t get any warning signs but the translation still doesn’t work.

  • #7798

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #7799

    Max
    Staff
    Post count: 3150
    This reply has been marked as private.
    • #7842

      argone
      Member
      Post count: 65

      hello

      did you receive the files ?

  • #7869

    argone
    Member
    Post count: 65

    hello I’m trying to have my blog translated since March 4 …. can you please give me some help ? I’m so tired of this

    If someone on the forum can give me some advise on where to place my po mo files … I would appreciate

    thank you

    argone
    http://atasteofmylife.fr

  • #7877

    Jacob
    Staff
    Post count: 2323

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #7887

    argone
    Member
    Post count: 65

    ok – thanks
    please note I have created another topic about the new organization of the posts on home page this one is quite urgent too – Sorry *

  • #7901

    Jacob
    Staff
    Post count: 2323

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #8005

    argone
    Member
    Post count: 65

    I’m not sure to understand your answer.

    Here’s what I have done :

    I have renamed my files

    yeahthemes-fr_FR.po and
    yeahthemes.fr_FR.mo

    placed them in the ftp folder

    www
    wp-content
    languages

    and in wordpress : settings / general / site language,
    I have chosen “yeahthemes-fr_FR” in the menu instead of “french”.

    still doesn’t work.

    maybe I missed something in your answer ? text domain – file locale : what does this mean ?

    could you be more clear please ? I feel so dumb and really fed up.

    thanks

  • #8011

    Jacob
    Staff
    Post count: 2323

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #8082

    argone
    Member
    Post count: 65

    I have asked the help from a friend and she has installed a very convenient plugin in my wordpress and everything is fine now and translated locally without using ftp.

    Only one thing is bugging me. Inside the comments the date format is wrong and this is not a translation problem.

    I want to change the date format from Month/Day/Year to Day/Month/Year IN THE COMMENTS area.

    it should be a string like get_the_time(‘F j,Y’)
    that I want to replace by get_the_time(‘D/M/Y’)

    Can you help me to locate this please ?

    thank you

    argone
    http://atasteofmylife.fr

  • #8084

    Jacob
    Staff
    Post count: 2323

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #8085

    argone
    Member
    Post count: 65

    I don’t know what you have done, but it’s great !

    I had a look in the settings/general section but couldn’t see what I had to change.

    Now I think this topic is RESOLVED ! yay !

    thanks

    argone

  • #9282

    dacam84
    Member
    Post count: 73

    Hi argone,

    Wanted to ask you what plug in did ur friend installed?

    im having the same problem to translate my site

    thanks for ur answer

  • #9292

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #9506

    argone
    Member
    Post count: 65

    hello dacam84, sorry for the delay in responding, I was travelling abroad.

    The plugin used in wp is Codestyling Localization
    It really is awesome and did a great job.

    Please try it, I hope it will solve your problem too.

    argone

You must be logged in to reply to this topic.

This is a PRIVATE forum for verified users only, to view the replies/answers, you must be logged in!