Tagged: german, translation, update
-
AuthorPosts
-
April 29, 2019 at 10:01 am #1095207
Hi.
With the new update to 4.5.6. there is “share this entry” in the german version. It should be “Eintrag teilen”. I’d like to translate it with Loco Translate, but there is the right translation …
Best regards. Andreas
April 29, 2019 at 2:06 pm #1095275After I´ve updated to 4.5.6 I no longer can use Loco Translate to change this text. It seems to be hardcoded?
April 30, 2019 at 7:50 am #1095640Hi,
Seems we have missed something here.
I will create a github issue for our developers.Best regards,
BasilisMay 2, 2019 at 1:32 pm #1096464Same issue here. No german translation of “share this entry” under blog post even though translation in po file is correct. So the string is again hardcoded somewhere else?
May 3, 2019 at 6:31 am #1096739Hi Andreas and Daniel,
Which version of German is installed on your sites?
Best regards,
RikardMay 3, 2019 at 9:11 am #1096804Hi Rikard,
it is the one from the latest Enfold version 4.5.6.
Best regards,
DanielMay 3, 2019 at 11:21 am #1096866Hi. It’s the latest update 4.5.6.. Best regards. Andreas
- This reply was modified 5 years, 6 months ago by kreativeseite.
May 4, 2019 at 6:17 am #1097083Hi,
Thanks for the updates, but I’m asking which version of the German language you have selected in your WordPress installations? As far as I know there are several different german language files; normal, formal, ch, at etc?
Best regards,
RikardMay 4, 2019 at 6:26 am #1097086you can try to replace it by child-theme functions.php:
function my_text_strings( $translated_text, $text, $domain ){ switch ( $translated_text ){ case 'share this entry': $translated_text = __( 'Eintrag teilen', $domain ); break; } return $translated_text; } add_filter('gettext', 'my_text_strings', 20, 3);
May 4, 2019 at 9:17 am #1097132Hi, same here, I am also seeing “Share this entry”, where I believe a translation string is available (in Dutch).
May 5, 2019 at 4:56 am #1097349Hi lijndiensten,
Did you try the function which @guenni007 shared? If not then please do so in your functions.php file.
Best regards,
RikardMay 6, 2019 at 9:14 am #1097611Hi Rikard, the function by @guenni007 doesn’t do the trick.
Normally, this should work with translation in the .mo-file, right?
- This reply was modified 5 years, 6 months ago by lijndiensten.
May 8, 2019 at 9:25 pm #1098602Hi,
have you regenerated the file and re-uploaded it?
Best regards,
BasilisMay 9, 2019 at 8:45 am #1098787Hi Basilis,
The .mo-file? Sure. But the string is already translated in your your theme package, so I would say it should work out-of-the box.
Ivan
May 9, 2019 at 2:26 pm #1098925Hi,
It seems like issue was not reported. We will report it to our devs. For the time being, please add following code to bottom of Functions.php file in Appearance > Editor
add_filter('avia_social_share_title','av_translate_social_share_title'); function av_translate_social_share_title() { if (get_locale() == 'de_DE') { return "Share this entry text in German"; } }
Please make sure to change language code ‘de_DE’ to match your language
Best regards,
YigitMay 9, 2019 at 8:41 pm #1099057Thanks Yigit.
May 10, 2019 at 1:39 pm #1099270 -
AuthorPosts
- The topic ‘Share this entry’ is closed to new replies.