Skip to content

Latest commit

 

History

History
58 lines (43 loc) · 1.41 KB

I18N.md

File metadata and controls

58 lines (43 loc) · 1.41 KB
label I18N
icon globe
order 2

Internationalization (i18n)

Internationalization is supported by param language on the url.

The i18n is built using: ISO 3166-1(alpha-2)

The response will contain: 'static' and 'dynamic' data.

// Root
[
  {
    "uuid": "...", // Static
    "release_date": "...", // Static
    "title": "...", // Translation
    "description": "..." // Translation
  }
]

!!!info Info By default, all requests will be set to en-US. !!!

Support

Scope en-US pt-BR fr-FR es-ES
Actors -- -- -- --
Characters -- -- -- --
Episodes Yes Yes Soon Soon
Games Yes Yes Soon Soon
Locations Yes Yes Soon Soon
Seasons Yes Yes Soon Soon
Soundtracks -- -- -- --

Examples

  • English-USA (en-US)

[!badge variant="primary" text="GET"] /api/{{api_version}}/episodes?language=en-US

  • Portuguese-Brazillian (pt-BR)

[!badge variant="primary" text="GET"] /api/{{api_version}}/episodes?language=pt-BR

!!!info Info Only ONE language can be defined per request:

!badge variant="warning" text="INVALID": [...]episodes?language=pt-BR&?language=es-ES
!badge variant="warning" text="INVALID": [...]episodes?language=pt-BR,es-ES !!!