Closed k1ngf15h3r closed 8 years ago
Yes, you can check the Cacti Theme https://github.com/getgrav/grav-theme-cacti it is multilangual.
added READ_MORE: 'Weiterlesen'
to system/languages/de.yaml
changed Line 11 in user/themes/masonry/templates/partials/article.html.twig
to:
<p>{{ post.content | striptags | truncate(140) }} <a class="read-more" href="{{post.url}}">{{ 'READ_MORE' | t }}</a></p>
after this I got the read more text section translated
this solutions also works for "older post" and "newer post". but the changes must be done in the themes twig files so I try to find a solution to make it working for further updates
can you tell me where "you might enjoy" text is comming from?
Okay this is a little bit tricky to translate permanently even if theme is updated. Will look at this after my holiday.
Am 14.08.2016 00:10 schrieb "Mesut" notifications@github.com:
@k1ngf15h3r https://github.com/k1ngf15h3r its coming from there https://github.com/koca/grav-theme-masonry/blob/d581e567cc1727b98ac889d91300655da4b822ac/src/scss/screen.scss#L1359 .
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/koca/grav-theme-masonry/issues/4#issuecomment-239646459, or mute the thread https://github.com/notifications/unsubscribe-auth/AA_s1eOv2SkJ77l_yveTn9ScF6ZTv87-ks5qfk7jgaJpZM4JheK8 .
Is there a possibility to handle text section like "read more" in multilingual ways?