Skip to main content

How/where can I translate the "(show all)" link?

Hey, short question:

If there are long texts which get shortened, there comes up an "(show all)" link which then immediately shows the rest of the text without loading a new page (and turnes to "(show less)" then).

Do you know where I can translate this link?

Best regards from Frankfurt, Germany!

Martin

Official response from

Hi Martin,

These snippets are actually being generated below the theme template level, and will require some JavaScript to change. You can target the specific (show all) and (show less) links like so:

<script type="text/javascript">
$(window).load(function(){
$('a[href="#show more content"]').html('mehr');
$('a[href="#show less content"]').html('weniger');
});
</script>

Placing the above script at the bottom of the <body> container in your template file should do the trick.

Tschüss!

Share this post

Showing 5 reactions

Please check your e-mail for a link to activate your account.