lokalise

Import Lokalise

post/v1/projects/{project_id}/lokalise/import

Request

  • Base URL: https://api.sonenta.dev
  • URL: https://api.sonenta.dev/v1/projects/{project_id}/lokalise/import
  • Auth: none declared

Path parameters

project_idstring required

Request body

lokalise_api_tokenstring required

The caller's Lokalise API token. Used once; never stored, never logged.

lokalise_project_idstring required

Lokalise project id to pull from

namespace_slugstring

Sonenta namespace all imported keys land in (V1: single bucket)

language_mapobject nullable

Optional override mapping {lokalise_iso: sonenta_code}. Lokalise languages not in the map default to exact-code match against the Sonenta project; unmatched languages are skipped with a warning.

versionstring nullable

Sonenta version slug to write into (default: production)

status'draft' | 'translated'

Status applied to imported translation rows

dry_runboolean

Fetch + plan but don't write — useful to preview the mapping

Response

Successful Response

project_uuidstring required
lokalise_projectobject required
namespace_slugstring required
version_slugstring nullable required
languages_seenstring[] required
languages_importedstring[] required
languages_skippedobject[] required
keys_createdinteger required
keys_reusedinteger required
keys_skippedinteger required
translations_createdinteger required
translations_updatedinteger required
translations_unchangedinteger required
plural_keys_markedinteger required
warningsstring[] required
dry_runboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.