Skip to content

Conversation

@liupras
Copy link

@liupras liupras commented Nov 3, 2024

When the default language is set to zh, the titles and breadcrumbs of /tags and /series are still in English.
So I modified i18n/zh.yaml, layouts/_default/terms.html, layouts/partials/breadcrumbs.html so that the titles and breadcrumbs of /tags and /series can be displayed in Chinese.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Nov 5, 2024

@jsolivellase
Copy link

I am facing this issue right now, it's not possible to translate the title of a taxonomy. Any chance to merge this PR to be able to translate titles of taxonomies?
I can help with testing or doing any necessary change to the PR if necessary. I am not an expert in designing Hugo themes, it looks fine to me.

- id: code_copied
translation: "已复制!"

- id: Series

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By default, Hugo only defines tags and categories as taxonomies. I think we should translate tags and categories only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants