Okay
  Public Ticket #945686
translation
Closed

Comments

  • Cadasse started the conversation

    Hi, 

    I would like to translate my site from english to french. I've installed Loco translate plugin. Salient has a french translation but as I'm using the child theme I don't know how to do. There is no translation for the child theme and when I want to create a translation folder I only have 4 terms to translate. How can I do ?

    David

  •  3,030
    Andrew replied

    Hi Cadasse,

    Thanks for contacting us regarding your query.

    You may click on the link below for an awesome article that illustrates the necessary steps to take to accomplish this request. 

    How To Translate The Salient Theme

    Please let me know if there are any more questions that I may answer for you :)

    Cheers! 

  • Cadasse replied

    Hi, 

    I've already seen all this but the thing is that I only have a CSS file my Child Theme folder in my FTP. So how am I supposed to change any PO or MO files ? I do have a french translation ready in the original Theme but don't know how to use it for the child theme. 

    David

  •  3,030
    Andrew replied

    Hi Cadasse,

    The French translation should be picked up from the parent theme automatically.
    If that does not happen try the sync button on the screenshot you sent in the initial message. Then add the translation of the text that's there. 

    You should then save - wait for the green success message to popup and that should do it.

    If the text is still not translated please respond with temporary admin access and we will take a better look at this.

    Thanks.

  •   Cadasse replied privately
  •  3,030
    Andrew replied

    Hi Cadasse,

    We think the translation is working as it's supposed to.
    Which specific strings are not translated to French?
    You might want to translate them in the parent theme.

  •   Cadasse replied privately
  •  3,030
    Andrew replied

    Hi Cadasse,

    We could not generate the correct template file from the source using the loco translate pluign.

    Could you login to your site over FTP and replace the salient.pot in

    wp-content \ themes \ salient \ lang \ salient.pot with the one attached to this message.

    It has all the strings that are translatable in the theme.
    After replacing, edit the template on salient main theme and click the sync button.

    Save and then do the same sync on the French language and then search of Read More or any other untranslated string. When done save to generate the .mo file.

    Hope this helps.

  •  3,030
    Andrew replied

    Sorry forgot the salient.pot

  • Cadasse replied

    Where can I find it ? 

  •  3,030
    Andrew replied

    Hi Cadasse,

    Apologies for that. Attached the file in a second message right after the initial one but the attachment did not go through.

    There is a zip here with the file in it: https://www.dropbox.com/s/v8xcgecidr6o9ne/salient.zip?dl=0

    Let us know how his goes and we can take it from there.