Get Lang List

About method

This method is used to get all languages list for your project. You can use it to detect all supported languages in your game.

Method Usage

To get all languages list, you need to send a POST request to the following URL:

Accepted Parameters:

Param Type Usage
app_id double Ocugine Project ID
app_key string Ocugine Project Client Key

After which the server will give the following information:

  "complete": true,
  "message": "",
  "data": [
      "uid": "2",
      "code": "en",
      "name": "English",
      "time": "1560080422",
      "project_id": "1"
      "uid": "4",
      "code": "us",
      "name": "English (US)",
      "time": "1560080843",
      "project_id": "1"


Param Type Usage
complete bool The status of the operation. If false, the locale could not be obtained.
message string / null Error message. If complete = true, returns null
data array Languages List based on Lang Object

Lang Object

The following describes the lang object returned by the server.

Param Type Usage
uid bool Internal language ID
code string Language code
name string Language Name
time string Last update time for this language
project_id double Ocugine Project ID