Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

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

first-time

Solved by Sebastian View solution

Started by Sebastian 7 years ago · 1 replies · 540 views
7 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
7 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 Thomas, 1 week ago
2 53 10 hours ago
Support · by Anna, 3 days ago
2 60 13 hours ago
Support · by Justin Young, 14 hours ago
1 30 14 hours ago
Support · by Duc , 1 week ago
2 65 5 days ago
Support · by Colin Hume, 1 week ago
2 56 5 days ago