lokalise-hello-world

Featured

Create a minimal working Lokalise example. Use when starting a new Lokalise integration, testing your setup, or learning basic Lokalise API patterns. Trigger with phrases like "lokalise hello world", "lokalise example", "lokalise quick start", "simple lokalise code".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Lokalise Hello World ## Overview End-to-end walkthrough: list projects, create a test project, add keys, set translations across languages, and retrieve them. Covers both the Node SDK (`@lokalise/node-api`) and the CLI (`lokalise2`). ## Prerequisites - Lokalise API token exported as `LOKALISE_API_TOKEN` - Node.js 18+ with `@lokalise/node-api` installed (`npm i @lokalise/node-api`) - Lokalise CLI v2 installed (`brew install lokalise2` or [binary releases](https://github.com/lokalise/lokalise-cli-2-go/releases)) ## Instructions 1. List all projects using the SDK and CLI. ```typescript import { LokaliseApi } from "@lokalise/node-api"; const client = new LokaliseApi({ apiKey: process.env.LOKALISE_API_TOKEN! }); const projects = await client.projects().list({ page: 1, limit: 20 }); for (const p of projects.items) { console.log(`${p.project_id} ${p.name} (${p.statistics.languages} languages)`); } ``` ```bash set -euo pipefail lokalise2 --token "$LOKALISE_API_TOKEN" project list ``` 2. Create a test project with three languages. ```typescript const project = await client.projects().create({ name: "hello-world-test", description: "Quick start demo", languages: [ { lang_iso: "en", custom_name: "English" }, { lang_iso: "fr", custom_name: "French" }, { lang_iso: "de", custom_name: "German" }, ], base_language_iso: "en", }); const PROJECT_ID = project.project_id; console.log(`Created project: ${PROJECT_ID}`); ``` 3. Add translation keys with thei...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

lokalise-local-dev-loop

Configure Lokalise local development with file sync and hot reload. Use when setting up a development environment, configuring translation sync, or establishing a fast iteration cycle with Lokalise. Trigger with phrases like "lokalise dev setup", "lokalise local development", "lokalise dev environment", "develop with lokalise", "lokalise sync".

2,266 Updated today
jeremylongshore
AI & Automation Featured

lokalise-install-auth

Install and configure Lokalise SDK/CLI authentication. Use when setting up a new Lokalise integration, configuring API tokens, or initializing Lokalise in your project. Trigger with phrases like "install lokalise", "setup lokalise", "lokalise auth", "configure lokalise API token".

2,266 Updated today
jeremylongshore
AI & Automation Featured

lokalise-data-handling

Implement Lokalise translation data handling, PII management, and compliance patterns. Use when handling sensitive translation data, implementing data redaction, or ensuring compliance with privacy regulations for Lokalise integrations. Trigger with phrases like "lokalise data", "lokalise PII", "lokalise GDPR", "lokalise data retention", "lokalise privacy", "lokalise compliance".

2,266 Updated today
jeremylongshore
AI & Automation Featured

lokalise-core-workflow-a

Execute Lokalise primary workflow: Upload source files and manage translation keys. Use when uploading translation files, creating/updating keys, or managing source strings in Lokalise projects. Trigger with phrases like "lokalise upload", "lokalise push keys", "lokalise source strings", "add translations to lokalise".

2,266 Updated today
jeremylongshore
AI & Automation Featured

lokalise-core-workflow-b

Manage Lokalise secondary workflow: Download translations and integrate with app. Use when downloading translation files, exporting translations, or integrating Lokalise output into your application. Trigger with phrases like "lokalise download", "lokalise pull translations", "export lokalise", "get translations from lokalise".

2,266 Updated today
jeremylongshore