April 12, 2013 at 4:04 am #34943
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?April 13, 2013 at 9:56 am #35219
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.
April 14, 2013 at 3:38 am #35348
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!April 14, 2013 at 10:08 am #35408
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
April 16, 2013 at 12:57 pm #35795
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!April 16, 2013 at 1:14 pm #35802
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.
April 16, 2013 at 2:14 pm #35815
Dank je wel.
- You must be logged in to reply to this topic.