WordPress.org

Ready to get started?Download WordPress

Forums

Sunspot
Translation to italian (9 posts)

  1. aurezio
    Member
    Posted 7 months ago #

    Hello, I have an issue with the translation files. I translated some of the terms in italian but I still see them in english on the site... I created the .po file but, for example, the "older posts" and "newer posts" buttons are still in english.

    http://www.sognoesondesto.it

  2. Hi there - thanks for the report. I'm asking our developers to have a look at this and will keep you posted here.

  3. Could you please let me know specifically which additional strings are not being translated, in addition to Older Posts/Newer Posts, and provide links to those pages/posts if they're visible somewhere other than the homepage? Thanks a lot.

  4. Hi there, could you please paste the content of your .po file into a Pastebin and link to it here, and do the same with your .mo file? http://pastebin.com/

    Thanks.

  5. aurezio
    Member
    Posted 6 months ago #

    I don't know how to do that...

  6. aurezio
    Member
    Posted 6 months ago #

    This is the .po file opened with notepad++

    http://pastebin.com/hWkKFfG7

    The .mo file is full of strange characters...

  7. Caroline Moore
    Member
    Posted 6 months ago #

    Howdy!

    I did a quick test and was able to get a PO file to work with Sunspot. You can view the base PO I used here (no translations):
    http://pastebin.com/2fsdCybz

    The biggest difference I noticed was your file is looking in a directory above (../404.php, ../archive.php, etc.) and mine is looking in the same directory (404.php, archive.php, etc.) so I think there is some confusion with the directory structure and the location of the PO file.

    Ensure your file is located in the parent theme's /languages folder (unless you've told it to look somewhere else in your child theme) and, if that fails, try using the above PO file.

  8. aurezio
    Member
    Posted 6 months ago #

    My .po file is already located in the languages folder...

    Anyway, none of the files work. I also noticed that when I translate

    <span class=\”meta-nav\”>←</span> Older posts

    in

    <span class=\”meta-nav\”>←</span> Sogni precedenti

    I get a fatal error from poedit when saving the file...

    So I have to translate it like

    ← Sogni precedenti

    without the span stuff...

    I also tried to delete the source links (the . and the ..) but nothing changed...

    Don't know what to do at this point. I guess I have to leave them in english...

  9. <span class=\”meta-nav\”>←</span> Older posts

    <span class=\”meta-nav\”>←</span> Sogni precedenti

    To prevent errors, make sure you're using straight quotes and not curly quotes. (The code you pasted above uses curly quotes.)

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.