agency theme not completely translated

Community Forums Forums Internationalization and Translations agency theme not completely translated

This topic is: not resolved

This topic contains 6 replies, has 2 voices, and was last updated by  webenfoto 1 year, 8 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #34943

    webenfoto
    Participant
    Post count: 15

    Hi!

    I downloaded the genesis translations plugin, but in the Agency theme ‘Filed under’ is not translated to ‘onderwerp’ (in Dutch).

    even when I try to translate the .pot file myself with PoEdit, it does not translate!

    All other words show in Dutch.

    Does anyone have the same problem?

    And  did you solve it?

    #35219

    David Chu
    Participant
    Post count: 1426

    Hi,
    Good question, translation is always tricky. My best guess would be that somewhere in the theme, “Filed under” is hard-coded. To find that, I would do a text scan of the theme files for that phrase, and then you could change it. If you’re not as geeky as I am, this may not sound fun. :-) If I had the Agency theme myself, I would have tried it for you, but I don’t.

    I would think that official support might help you out with this, you may want to open up a ticket. Although they may say that they don’t support that plugin. But you could try that.

    Best, Dave


    Dave Chu · Custom WordPress Developer – likes collaborating with Designers

    #35348

    webenfoto
    Participant
    Post count: 15

    Thank you David.

     

    Okay, I understand what you mean bij hard-coded.

    And I do want to find that phrase. You are talking about a text scan. Do you know any tools with wich I can do that?

     

    Thank you!

     

    #35408

    David Chu
    Participant
    Post count: 1426

    Hi!
    For text scanning: If you use a Mac, I don’t know, but maybe this would work. On Windows I use Agent Ransack. It’s old, but it works fine for me. By the way, those are used for scanning locally on your computer, not on the server, so you’ll need to have the files somewhere on your computer. You probably already have that. :-)

    I got curious about your question, and I used Agent Ransack to scan the Genesis framework itself (not any child theme), and I found one instance of “Filed Under” in this file: genesis\lib\shortcodes\post.php
    It is properly set up for translation, with the correct symbol in front of the field, it looks like 2 underscores, __
    So as usual, Genesis itself is very well coded. :-)

    So I could be wrong, but I would guess that because the overwhelming majority of Studiopress child themes are coded by English speakers, some of them may not set up their child theme fields in this translation-friendly way. I know I could have made that omission myself.

    Hope that helps, Dave


    Dave Chu · Custom WordPress Developer – likes collaborating with Designers

    #35795

    webenfoto
    Participant
    Post count: 15

    Thank you David!
    I’m trying with Easy Find right now (I do indeed have a Mac).

    Yes!!!!!! it’s in the functions.php!!!!

     

     

    Thank you, thank you! You made my day!

    #35802

    David Chu
    Participant
    Post count: 1426

    Hallo,
    That’s excellent, glad to hear it! That leads me to believe that if the variable in your child theme were set up in a translation-friendly way, the POT plugin you used may have found it. And although I say “POT”, I’m not referring to the nice special cafes in Amsterdam. :-)

    This was also a good lesson for me, getting more awareness of these issues. I do some work for people in Europe (I’m in the US), and it’s mostly in English so far, but I may be asked to do more in other languages soon. My Spanish is pretty good, and I’m passable in French.

    Dag!
    Dave


    Dave Chu · Custom WordPress Developer – likes collaborating with Designers

    #35815

    webenfoto
    Participant
    Post count: 15

    dag Dave!

    Dank je wel.

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

You must be logged in to reply to this topic.