[Resolved] Spanish translation

Home Forums Support [Resolved] Spanish translation

Home Forums Support Spanish translation

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #40019
    David Miii Niii

    Hi, Tom.
    I’m translating this awesome theme to spanish, but i’ve got some problems with the installation in my child theme. This is the first time i translate a theme, so i’m a newby.
    If i copy the files “es_ES.mo” and “es_ES.po” to the parent’s languages directory (“/wp-content/themes/generatepress/languages/”), it works ok. The problem is, when the theme is updated, i lose the translation…
    So i guess i should put those files in the child directory (“/wp-content/themes/GeneratePressMiiiNiiiTheme/languages/”), but that doesn’t work πŸ™ .
    What am i missing?

    Thanks.

    #40030
    Tom
    Lead Developer
    Lead Developer

    Hi David,

    I would love to include the translation in the parent theme permanently – that way you wouldn’t lose it on update?

    Let me know if you’d be willing to send it over πŸ™‚

    Thanks!

    #40035
    David Miii Niii

    Hi, Tom.
    Of course i am πŸ™‚
    I’ve uploaded it to my site:

    Would you let me know when you update your theme?

    Greetings.

    #40256
    Tom
    Lead Developer
    Lead Developer

    Hi David,

    Can you possibly email me the .po and .mo files to support@generatepress.com? That would be awesome! πŸ™‚

    Thanks again – I really appreciate it!

    #40321
    David Miii Niii

    Ok, i’ll send it in a moment. I guess the link (to the file) i posted in the last comment have been blocked by the anti spam system, or something, uh?

    #40499
    Tom
    Lead Developer
    Lead Developer

    Received – thanks again!

    I’ve added the translation to the next version, so you can go ahead and add those files to the “languages” folder in the “generatepress” folder, and when you update, the files will still be there.

    Thanks!

    #40527
    David Miii Niii

    Perfect πŸ™‚
    Happy to contribute to this great theme!
    Greets

    #42784
    Radek

    Hi Tom,

    could You please tell us anyway how to use translation files of other (not supported) languages at childtheme directory ?

    Thanx

    #42833
    Tom
    Lead Developer
    Lead Developer

    Hi Radek,

    This site has some good info on translating a theme: http://premium.wpmudev.org/blog/how-to-translate-a-wordpress-theme/

    Basically, you need Poedit, and then open the generatepress.pot file in the “languages” folder.

    Then you can translate whatever strings you want πŸ™‚

    Hope this helps.

    #42873
    Radek

    Sorry, but question was how use translated files at childtheme directory, so upgrading parrent theme doesnt mean to reupload my files each time. So how to tell generatepress to use files from: /wp-content/themes/GeneratePressMyChildTheme/languages/ ?

    Hope You understand now what I mean with my bad english πŸ˜‰

    #42885
    Tom
    Lead Developer
    Lead Developer

    Ah sorry about that.

    Maybe this will help?: http://ronangelo.com/add-language-files-on-a-wordpress-child-theme/

    #42886
    Radek

    Thanx, sounds good, I’ll try tomorrow.

    #42976
    Radek

    Works, maybe add this to knowledgebase will be fine πŸ˜‰

    #167574
    Daniel

    Hi, i need help please.
    Went up to my server files, then edit the file by placing define(β€˜WPLANG’, β€˜es_ES’ ); in wpconfig.php but I can not update the translation.
    Help me appreciate the translation.

    #167601
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    You should be able to choose your language in “Settings > General” now at the bottom.

    You can edit the translation by opening the language file in the wp-content/generateporess/languages folder.

    Let me know if you need more info πŸ™‚

Viewing 15 posts - 1 through 15 (of 17 total)
  • You must be logged in to reply to this topic.