intlpull

v0.2.1
io.github.intlpull/intlpull Checked 2 days ago Published 9 months ago

AI-powered i18n platform with 50+ tools for translations, OTA releases, and more.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

translate_strings

Translate strings from source language to target language using AI

ParameterTypeDescription
sourceLanguage *stringSource language code (e.g., "en", "de", "ja"). Required - no default assumed.
strings *arrayArray of strings to translate
targetLanguage *stringTarget language code (e.g., "es", "fr", "de")

translate_file

Translate all strings from an extracted IntlPull JSON file

ParameterTypeDescription
inputFile *stringPath to the .intlpull-extracted-*.json file
sourceLanguage *stringSource language code (e.g., "en", "de", "ja"). Required - no default assumed.
targetLanguage *stringTarget language code (e.g., "es", "fr", "de")
outputFilestringPath to save the translated JSON file

list_languages

List all supported languages for translation

get_translation_status

Get the translation status for a project

ParameterTypeDescription
projectPath *stringPath to the project directory

generate_translation_file

Generate a translation JSON file for a specific language

ParameterTypeDescription
extractedFile *stringPath to the extracted strings file
targetLanguage *stringTarget language code
formatstringOutput format: flat or nested JSON
outputDirstringOutput directory for translation files

get_branch_info

Get current git branch information and translation branch strategy

ParameterTypeDescription
projectPathstringPath to the project directory

set_branch_strategy

Configure how translations are managed across git branches

ParameterTypeDescription
projectPath *stringPath to the project directory
strategy *stringBranch strategy: per-branch (separate translations per branch), merged (sync with base branch), none (ignore branches)
baseBranchstringBase branch for merging translations (e.g., main, master)
sourceLanguagestringSource language code (required if no .intlpull.json config exists yet)

merge_branch_translations

Merge translations from current branch into base branch or vice versa

ParameterTypeDescription
direction *stringDirection: to-base (merge feature->main), from-base (sync main->feature)
projectPath *stringPath to the project directory
conflictResolutionstringHow to handle conflicts: keep-base (default), keep-branch, or keep-both (adds suffix)
namespacestringNamespace to merge (or all if not specified)

list_branch_translations

List translation files specific to the current branch

ParameterTypeDescription
projectPath *stringPath to the project directory
showDiffbooleanShow diff compared to base branch

get_platform_info

Get current platform configuration and available platforms for multi-platform projects (React Native, Expo, etc.)

ParameterTypeDescription
projectPathstringPath to the project directory

set_platform

Set the current platform context for translations (ios, android, web, or default)

ParameterTypeDescription
platform *stringPlatform to set as current context
projectPath *stringPath to the project directory

configure_platform

Configure platform-specific settings (output directory, overrides) for multi-platform projects

ParameterTypeDescription
platform *stringPlatform to configure
projectPath *stringPath to the project directory
namespacesarrayPlatform-specific namespaces to include
outputDirstringCustom output directory for this platform

set_platform_override

Set a platform-specific translation override (e.g., "Tap" on iOS vs "Click" on Web)

ParameterTypeDescription
key *stringTranslation key to override
platform *stringPlatform for the override (not default)
projectPath *stringPath to the project directory
value *stringPlatform-specific value

download_translations

Download translations from IntlPull server with branch and platform context

ParameterTypeDescription
projectPath *stringPath to the project directory
branchstringBranch to download from (defaults to current git branch or main)
formatstringOutput format
languagesarrayLanguages to download. Downloads all if not specified.
platformstringPlatform to download translations for

glossary_lookup

Look up terms in the project glossary to ensure consistent terminology

ParameterTypeDescription
query *stringTerm to look up in the glossary
limitnumberMaximum number of results
targetLanguagestringTarget language code for translations (e.g., "es", "fr")

glossary_check_text

Check text for glossary terms and get their approved translations

ParameterTypeDescription
targetLanguage *stringTarget language code for translations
text *stringText to check for glossary terms

tm_add

Add a translation pair to translation memory

ParameterTypeDescription
sourceLanguage *stringSource language code
sourceText *stringSource text
targetLanguage *stringTarget language code
targetText *stringTranslated text
contextstringContext for this translation
qualitynumberQuality score (0-1)

tm_stats

Get translation memory statistics

import_translations

Import translations from a local file to IntlPull. Reads the file and uploads to the server.

ParameterTypeDescription
filePath *stringPath to translation file to import (JSON or YAML)
branchstringBranch name to import translations to
languagestringTarget language code (auto-detected from filename if omitted)
namespacestringTarget namespace
optionsobjectImport options
platformstringPlatform to tag imported keys with (ios, android, web)
projectPathstringPath to project root (for reading config)

import_preview

Preview what translations would be imported without executing. Shows new keys, existing keys, and potential deletions. Optionally includes TM analysis to estimate translation memory coverage.

ParameterTypeDescription
filePath *stringPath to translation file to preview
includeTMAnalysisbooleanInclude Translation Memory analysis for pre-translation opportunities
languagestringLanguage code (auto-detected if omitted)
namespacestringTarget namespace
projectPathstringPath to project root
sourceLanguagestringSource language code for TM analysis (required if includeTMAnalysis is true)
targetLanguagesarrayTarget language codes for TM analysis (e.g., ["es", "fr", "de"])
tmMinQualitynumberMinimum TM match quality threshold (0-1). Default 0.85 (85%)

import_history

Get recent import operations for a project

ParameterTypeDescription
limitnumber
projectPathstring

migrate_translations

Migrate translation files to IntlPull with auto project/language creation.

ParameterTypeDescription
path *stringPath to translation files directory
projectName *stringProject name (creates if not exists)
sourceLanguage *stringSource language code (e.g., "en", "de", "ja"). Required.
dryRunboolean
namespacestring
patternstring

create_project

Create a new IntlPull project with languages

ParameterTypeDescription
name *string
sourceLanguage *string
targetLanguages *array
descriptionstring

detect_translation_files

Scan directory and detect translation files without uploading.

ParameterTypeDescription
path *string
patternstring

add_languages

Add languages to an existing project

ParameterTypeDescription
languages *array
projectId *string
skipTranslationboolean

publish_ota_release

Publish an OTA release for mobile/web SDKs. Creates a versioned bundle that apps can download at runtime.

ParameterTypeDescription
branchstringTranslation branch to publish from
projectPathstring
versionstringVersion string for this release

list_ota_releases

List all OTA releases for a project

ParameterTypeDescription
limitnumber
projectPathstring

delete_ota_release

Delete an OTA release

ParameterTypeDescription
releaseId *string
projectPathstring

get_ota_manifest

Get the OTA manifest for SDKs (includes version, bundle URLs, and delta info)

ParameterTypeDescription
branchstring
projectPathstring

pin_ota_version

Pin an OTA version for critical flows (checkout, payment, onboarding). Ensures consistent translations during the flow, preventing mid-transaction text changes.

ParameterTypeDescription
sessionId *stringUnique session identifier (e.g., user session ID, cart ID)
flowTypestringType of critical flow for analytics
projectPathstringPath to project root
ttlMinutesnumberTime-to-live in minutes (max 60 recommended)
versionstringSpecific version to pin (defaults to current latest)

unpin_ota_version

Unpin an OTA version when critical flow completes. Call this after checkout success/failure.

ParameterTypeDescription
sessionId *stringSession ID that was pinned

get_pinned_version

Check if a session has a pinned OTA version and get its details.

ParameterTypeDescription
sessionId *stringSession ID to check

list_pinned_versions

List all active pinned OTA versions (for debugging/monitoring).

upload_translations

Upload source translation keys to IntlPull. Auto-detects project, framework, and git branch.

ParameterTypeDescription
dryRunboolean
filestringSpecific file to upload
projectPathstring

search_translations

Search translations with filters and pagination. Returns minimal data to avoid context window blowup.

ParameterTypeDescription
query *string
languagestring
limitnumber
namespacestring
offsetnumber
projectPathstring
statusstring

create_translation_key

Create a new translation key with initial value.

ParameterTypeDescription
key *string
value *string
descriptionstring
namespacestring
platformsarray
projectPathstring

bulk_create_keys

Create multiple translation keys at once. Efficient for batch operations.

ParameterTypeDescription
keys *array
autoTranslateboolean
projectPathstring

email_templates_list

List email templates for a project. Shows both remote templates from IntlPull and local templates in the emails/ directory.

ParameterTypeDescription
projectPathstringPath to the project directory containing .intlpull.json

email_templates_pull

Pull email templates from IntlPull API and write them as HTML files to the emails/ directory. Each template gets its own subdirectory with {lang}.html files.

ParameterTypeDescription
languagesarrayLanguages to pull (e.g., ["en", "es", "fr"]). Defaults to ["en"] if not specified.
projectPathstringPath to the project directory containing .intlpull.json

email_templates_push

Push local HTML email templates from the emails/ directory to IntlPull API. Reads {slug}/{lang}.html files and uploads them as template translations.

ParameterTypeDescription
dryRunbooleanPreview changes without applying them
projectPathstringPath to the project directory containing .intlpull.json
templatesarrayTemplate slugs to push (all templates if not specified)

email_templates_status

Compare local email templates with remote templates in IntlPull. Shows which templates exist locally only, remotely only, or are synced.

ParameterTypeDescription
projectPathstringPath to the project directory containing .intlpull.json

list_documents

List all documents in a project

ParameterTypeDescription
projectId *stringProject ID to list documents for

get_document

Get details of a specific document

ParameterTypeDescription
documentId *stringDocument ID
projectId *stringProject ID

upload_document

Upload a new document for translation

ParameterTypeDescription
filePath *stringAbsolute path to local file to upload
projectId *stringProject ID
sourceLanguagestringSource language code
targetLanguagesarrayList of target language codes

download_document

Download a translated document

ParameterTypeDescription
documentId *stringDocument ID
language *stringTarget language code
outputPath *stringAbsolute path to save the downloaded file
projectId *stringProject ID

register_webhook

Register a webhook to receive IntlPull events. Webhooks can trigger CI/CD pipelines, send Slack notifications, or integrate with other systems.

ParameterTypeDescription
url *stringWebhook endpoint URL (must be HTTPS in production)
webhookId *stringUnique identifier for this webhook (e.g., "ci-deploy", "slack-notify")
enabledbooleanWhether the webhook is active
eventsEvents to receive. Use "*" for all events or an array of specific event types.
secretstringSecret for HMAC signature verification (recommended for security)
timeoutMsnumberRequest timeout in milliseconds

unregister_webhook

Remove a registered webhook

ParameterTypeDescription
webhookId *stringID of the webhook to remove

list_webhooks

List all registered webhooks and their configurations

get_recent_events

Get recent events for debugging and monitoring. Shows the last 100 events.

ParameterTypeDescription
limitnumberMaximum number of events to return (max 100)
projectIdstringFilter by project ID
typestringFilter by event type

test_webhook

Send a test event to a webhook to verify it is working correctly

ParameterTypeDescription
webhookId *stringID of the webhook to test
projectIdstringProject ID to use in the test event