WARN Failed to get translated string for language "de" and ID "home.desc": %!s(<nil>)
WARN Failed to get translated string for language "de" and ID "home.signup": %!s(<nil>)
WARN Failed to get translated string for language "de" and ID "home.signin": %!s(<nil>)
Configuration file:
baseURL: "https://www.example.com"
title: " Web site"
MetaDataFormat: "yaml"
contentdir: "content"
layoutdir: "layouts"
publishdir: "public"
uglyURLs: true
disableKinds: ["RSS","sitemap","taxonomy","section"]
watch: false
ignoreErrors : ["error-disable-taxonomy"]
markup:
goldmark:
renderer:
unsafe: true
Languages:
en:
language: "english"
fr:
language: "french"
de:
language: "deutsch"
weight: 1
de-de:
language: "deutsch-de"
params:
langCode: "de-de"
weight: 2
Hugo Version: 0.124.1
Instead of fetching the de language, it fetch the translation from de-de.yaml
We have translated our pages using Translation by filename and the same issue occurs while translating the page using Translation by content directory
I have given the higher weightage for de over de-de by using weight, though it fetch de-de which has lower weightage.