Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Text in buttons not displayed correctly (e.g. simplesearch or next / previous post)

first-time

Solved by Sebastian View solution

Started by Sebastian 8 years ago · 1 replies · 934 views
8 years ago

Hi there,
I recently installed a Grav site, using the blog skeleton. The site is up and running, but for some reason, the content of buttons or placeholder text is not displayed correctly. Several examples:
Simplesearch plugin - search box: the placeholder instead of a "normal" text, shows "PLUGIN_SIMPLESEARCH.SEARCH_PLACEHOLDER"
Blog posts (items): At the end of each post, instead of "Previous post" or "Next post", it says "THEME_QUARK.BLOG.ITEM.NEXT_POST" or "THEME_QUARK.BLOG.ITEM.PREV_POST".

I already looked at the different twigs and it seems that under normal circumstances, they fetch some kind of constants, that (depending on the language) hold the actual value. I my case, only the constants' name is displayed.

I already looked at the server's log file and error files, but they seem ok; no errors shown.

Maybe someone has an idea; any help is appreciated.

Regards,
Sebastian

P.S.: I am attaching a screenshot to illustrate:
screenshot|690x334

last edited 03/01/19 by Sebastian
8 years ago Solution

Answering myself... 🙄 and feeling kind of stupid:
I set up a new site, completely from scratch, and there everything worked just fine.
So I started comparing (first plugins and then configuration) between the two sites, until I got to the configuration of languages and translations. As I was not thinking about a multi-lingual site, I disabled translations.
And enabling it again.... :fireworks: ✨ 🎉
Thanks anyway

Suggested topics

Topic Participants Replies Views Activity
Support · by TomW, 2 weeks ago
8 227 8 hours ago
Support · by alex, 2 months ago
8 667 23 hours ago
Support · by Supple, 5 days ago
1 98 1 day ago
Support · by TomW, 1 week ago
3 159 3 days ago
Support · by TomW, 6 days ago
2 106 5 days ago