Niko
Niko

@Mtt Thank you very much for your SUMO Theme! I try to figure out how to use the i18n Support. I added a line with "defaultContentLanguage": "de" to the config.json file ... But nothing happens. Would you please be so kind and help me out?

|
Embed
Progress spinner
Mtt
Mtt

@Niko Can you send me the full content of your config.json by typing it here and sending me the link? You can use a micro.blog note instead if you'd like.

|
Embed
Progress spinner
Niko
Niko

@Mtt Thank your very much for your help :-) Here is the link: hastebin.com/share/ake... I tried switching the Hugo Version from 0.91 to 0.117 - but it didn't quite change anything, besides the names of the month changed from "January" to german "Januar".

|
Embed
Progress spinner
Mtt
Mtt

@Niko I believe I’m seeing all the changes. The date, the footer, archives page, etc. Is there something that should be translated that isn’t?

|
Embed
Progress spinner
Niko
Niko

@Mtt Oh yes, I see. I am stumbling over the names in the menu and the corresponding titles of the pages, such as "About" or "Photos". Do these not change?

|
Embed
Progress spinner
Mtt
Mtt

@Niko It can only translate things built into the theme itself. Things added by you (such as page names and content) remain whatever you named them. The Archives page is part of the theme, the about page isn’t.

|
Embed
Progress spinner
Mtt
Mtt

@Niko You can change those names in the Page editor.

|
Embed
Progress spinner
Niko
Niko

@Mtt I see, thank you!!

|
Embed
Progress spinner
Niko
Niko

@Mtt I apologize for coming back to you again: I'm trying to change the English date format to German. The addition of “defaultContentLanguage”: “de” also translated the month name, but did not change the format. Is there a way to tell Hugo to use the German localization based on the page language?

|
Embed
Progress spinner
Mtt
Mtt

@Niko No worries. I have that as a feature, but I haven't documented how to use it yet. I'll try to do that by tomorrow at the latest.

|
Embed
Progress spinner