Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

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 · 824 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 webmasterodp, 1 week ago
4 157 6 days ago
Support · by nwhitfield, 1 week ago
2 135 1 week ago
Support · by stell, 3 weeks ago
5 369 2 weeks ago
Support · by gravinator, 1 month ago
5 559 2 weeks ago
Support · by Gravver, 3 weeks ago
6 347 3 weeks ago