Game Internationalization v2
Reference for the Game Internationalization v2 endpoints on Roblox.
Base URL: https://gameinternationalization.roblox.com
Endpoints
Section titled “Endpoints”| Method | Path | Name |
|---|---|---|
GET |
/v2/supported-languages/games/:gameId |
getSupportedLanguagesGamesGameid |
getSupportedLanguagesGamesGameid
Section titled “getSupportedLanguagesGamesGameid”GET /v2/supported-languages/games/:gameId
Get the supported languages for a game.
Usage
import { fetchApi } from 'rozod';import { getSupportedLanguagesGamesGameid } from 'rozod/endpoints/gameinternationalizationv2';
const data = await fetchApi(getSupportedLanguagesGamesGameid, { gameId: /* integer */});Parameters
Section titled “Parameters”| Name | Type | Required | Description |
|---|---|---|---|
gameId |
integer |
Yes | The id of the game. |
Response
Section titled “Response”| Field | Type | Description |
|---|---|---|
data |
object[] |
See below |
data[] item fields:
| Field | Type | Description |
|---|---|---|
languageFamily |
object |
See below |
childLocales |
object[] |
See below |
languageFamily fields:
| Field | Type | Description |
|---|---|---|
name |
string |
|
nativeName |
string |
|
languageCode |
string |
childLocales[] item fields:
| Field | Type | Description |
|---|---|---|
id |
number |
|
locale |
`“en_us” | “es_es” |
localeCode |
string |
|
name |
string |
|
nativeName |
string |
|
language |
object |
See below |
language fields:
| Field | Type | Description |
|---|---|---|
id |
number |
|
name |
string |
|
nativeName |
string |
|
languageCode |
string |
|
isRightToLeft |
boolean |
Errors
Section titled “Errors”| Status | Description |
|---|---|
| 400 | 14: Invalid game id |
| 503 | 17: Feature is disabled |