What languages are supported by the API?
Localization currently is limited in functionality for related links. We use the html
global lang
attribute to detect the language of the pages, and we use it within a must_match
filter when providing related links.
The language can also be set using the Graphite metadata to set the language graphite:language
. See more about Graphite supported metadata
This approach useful if a site is multilingual and requires multilingual support through one single endpoint.
The Internal Links API can provide related links and manage non-English data for the following languages:
English, Arabic, Armenian, Basque, Bengali, Brazilian, Bulgarian, Catalan, Chinese, Czech, Danish, Dutch, Estonian, Finnish, French, Galician, German, Greek, Hindi, Hungarian, Indonesian, Irish, Italian, Japanese, Korean, Latvian, Lithuanian, Norwegian, Persian, Portuguese, Romanian, Russian, Sorani, Spanish, Swedish, Turkish, Thai
Please contact us with any questions about supporting other languages not listed.
GraphiteGrowth™
Updated about 2 months ago