Replies: 4 comments 8 replies
-
reference #631 |
Beta Was this translation helpful? Give feedback.
-
I think, this is officially supported for now. But not mentioned in the docs. I add some code like below at localeLinks: {
text: 'Uzbek',
items: [
{ text: 'Ўзбекча', link: 'https://oz.waffle.dev' },
{ text: 'English', link: 'https://en.waffle.dev' },
{ text: 'Русский', link: 'https://ru.waffle.dev' }
]
} Also you should consider adding some code before locales: {
'/': {
lang: 'en-US',
title: 'envd',
description: 'AI/ML Development Environment'
},
'/zh/': {
lang: 'zh-CN',
title: 'envd',
description: 'AI/ML 开发环境'
},
} And I think it should be added into the docs if it is finished and working. |
Beta Was this translation helpful? Give feedback.
-
I've a question! Is it possible to translate copyright section in footer? |
Beta Was this translation helpful? Give feedback.
-
@brc-dd So, does this approach will be correct?
export const navConfig = {
'/': [
{ text: 'Qo\'llanma', link: '/qollanma/', },
{ text: 'Komponentlar', link: '/komponentlar/' },
{ text: 'Makrdown yozish', link: '/markdown/' },
],
'/translations/en-us/': [
{ text: 'Guide', link: '/qollanma/', },
{ text: 'Components', link: '/komponentlar/' },
{ text: 'Writing markdown', link: '/markdown/' },
]
}
import { navConfig } from "./config/nav";
...
locales: {
'/': {
lang: 'uz-LAT',
title: "BuNom",
description: "Bu yerda biroz tarif."
},
'translations/en-us/': {
lang: 'en-US',
title: 'TitleHere',
description: 'Here is some description.'
}
}
...
themeConfig: {
nav: navConfig,
... |
Beta Was this translation helpful? Give feedback.
-
Discussions about language translations.
Beta Was this translation helpful? Give feedback.
All reactions