Thank you for your quick reply!
I don’t think our blog posts are currently localizable,
What does localizable mean? I think it’s enough to add the page
https://blog.joinmastodon.org/ja/2018/12/why-does-decentralization-matter/ (the path is prefixed by
/ja) by adding a file
content/posts/2018-12-30_Why-does-decentralization-matter/index.ja.md and it’s achieved by slightly editing the config file:
diff --git a/config.toml b/config.toml
index 139219d..950132c 100644
@@ -1,5 +1,13 @@
baseURL = "http://blog.joinmastodon.org/"
languageCode = "en-us"
+DefaultContentLanguage = "en"
+ languageName = "English"
+ weight = 1
+ languageName = "日本語"
+ weight = 2
title = "Official Mastodon Blog"
paginate = 6
preserveTaxonomyNames = true
You know, this doesn’t add switching language feature and so on, but I think it’s okay for now.
This is just a proposal that I could edit Hugo config and then send a merge request for convenience for Japanese people. Because it’s your site, I won’t send a merge request if you think it is not proper and will find another place to publish(I’m thinking write.as and Medium). I don’t mind it at all.
Here or Discord (which you have access to as a Patreon subscriber) is probably the best place to ask questions about the post.
Thanks for the advice. I will ask him here later.