-
Since Material now has multi-language support since v7 am I in the process of translating my own documentation into another language. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
The link should be an absolute path to the alternate language, the https://example.com/en/* -> https://example.com/de/ # Now
https://example.com/en/getting-started/ -> https://example.com/de/vorbereitung/ # Future
https://example.com/en/releases/ -> https://example.com/de/versionen/ # Future Note that there is also a |
Beta Was this translation helpful? Give feedback.
The link should be an absolute path to the alternate language, the
site_url
of the alternate language if you will. Currently, switching the language on any site will always transport you to this exact link. In the future (not too far from now), it will be supported to link a specific page to another page, e.g.:Note that there is also a
lang
attribute, which is currently not used, but will be very helpful for SEO in the near future.