I have a fresh Grav CMS instance with default Antimatter theme on.
I want to override some translations provided within the theme.
(I mean overriding English translations - the default language)
user/themes/antimatter/languages.yaml
en:
TRANSLATION_TEST: Antimatter!
BLOG:
ITEM:
CONTINUE_READING: Continue reading...
NEXT_POST: Next Post
PREV_POST: Previous Post
SIDEBAR:
SIMPLE_SEARCH:
HEADLINE: Search
RELATED_POSTS:
HEADLINE: Related Posts
RANDOM_ARTICLE:
HEADLINE: Random Article
FEELING_LUCKY: I'm Feeling Lucky!
SOME_TEXT_WIDGET:
HEADLINE: Some Text Widget
POPULAR_TAGS:
HEADLINE: Popular Tags
ARCHIVES:
HEADLINE: Archives
SYNDICATE:
HEADLINE: Syndicate
FORM_DATA:
SUMMARY: "Here is the summary of what you wrote to us:"
ERROR: Error
To achieve this I try to put my translations into user/languages folder.
Example:
user/languages/en.yaml
ERROR: Failure
I tried also:
user/languages/languages.yaml
en:
ERROR: Failure
I examine the result by visiting a non-existent page, but I still see the word ‘Error’ like in the original Antimatter’s language file.
I thought I’m doing it correctly - what’s wrong with that?
Thank you for your help.