mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-10 15:47:23 +02:00
fix(v2): fix/enhance minor i18n issues reported (#4092)
* fix comment * allow to pass custom classname in navbar items * Add IconLanguage comp to dropdown * do not trim htmlLang * Add initial hreflang SEO support * doc hreflang
This commit is contained in:
parent
8a934ac9b7
commit
869ebe7b53
12 changed files with 158 additions and 32 deletions
|
@ -32,12 +32,12 @@ The goals of the Docusaurus i18n system are:
|
|||
- **Localize assets**: an image of your site might contain text that should be translated.
|
||||
- **No coupling**: not forced to use any SaaS, yet the integration is possible.
|
||||
- **Easy to use with [Crowdin](http://crowdin.com/)**: multiple Docusaurus v1 sites use Crowdin, and should be able to migrate to v2.
|
||||
- **Good SEO defaults**: setting useful SEO headers like [`hreflang`](https://developers.google.com/search/docs/advanced/crawling/localized-versions) for you.
|
||||
|
||||
### i18n goals (TODO)
|
||||
|
||||
Features that are **not yet implemented**:
|
||||
|
||||
- **Good SEO defaults**: setting useful html meta headers like `hreflang` for you.
|
||||
- **RTL support**: one locale should not be harder to use than another.
|
||||
- **Contextual translations**: reduce friction to contribute to the translation effort.
|
||||
- **Anchor links**: linking should not break when you localize headings.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue