Languine Expo

We're announcing our new Expo Preset, designed to make translating your Expo applications. With support for TypeScript and native translations, you can localize your entire app with minimal configuration.

Quick start

Get started in seconds with our preset:

Terminal
npx languine@latest init --preset expo

Key Features

  • Native Translation Support: Seamlessly handle platform-specific translations for iOS and Android
  • Automatic Directory Structure: Pre-configured folder structure for both web and native translations
  • Dependency: Automatically installs required dependencies
  • Configuration: Automatically configures your project for localization

How It Works

  1. Initialize your project with the Expo preset
  2. Define your translations in JSON files
  3. Use the i18n instance to translate your app

Example Usage

src/components/MyComponent.tsx
import { useTranslation } from './locales/i18n';

function MyComponent() {
  const { t } = useTranslation();
  
  return (
    <Text>{t('welcome.message')}</Text>
  );
}

Native-First Approach

Our Expo preset helps you with the challenges of mobile app localization. Store platform-specific translations in dedicated files:

Structure
locales/
  ├── en.json          # Shared translations
  ├── native/
├── en.json      # Native-specific translations
└── es.json
  └── es.json

Get Started Today

Ready to globalize your Expo app? Check out our documentation for detailed setup instructions and best practices.

Stay tuned for more updates as we continue to enhance the Expo integration with more features and improvements!

Languine API and SDK

Translation API & SDK

We're excited to announce the launch of Languine's comprehensive Translation API and SDK! This release marks a significant milestone in our mission to make localization seamless and accessible for developers worldwide.

What's Included

Powerful Translation API

Our REST API provides a robust foundation for integrating Languine's translation capabilities into your applications. Key features include:

  • Simple Authentication: Secure API key-based authentication
  • Smart Caching: Built-in caching system for improved performance
  • Format Support: Extensive support for various file formats including JSON, YAML, Markdown, and many more
  • Rate Limiting: Flexible rate limiting based on your project's needs

Developer-Friendly SDK

The Languine SDK simplifies integration even further with a clean, intuitive interface:

typescript
import { Languine } from "@languine/sdk";

const languine = new Languine({
  apiKey: process.env.LANGUINE_API_KEY,
});

const result = await languine.translate({
  sourceText: "Hello, world!",
  sourceLocale: "en",
  targetLocale: "sv",
  projectId: process.env.LANGUINE_PROJECT_ID,
});

Supported Formats

Both the API and SDK support a wide range of formats to accommodate various development environments:

  • Web Technologies: HTML, Markdown, MDX
  • Mobile Development: Android resources, iOS Strings/Stringsdict/XCStrings
  • Configuration: JSON, YAML, Properties
  • Localization: PO, XLIFF, ARB
  • And more!

Getting Started

Getting started with Languine is straightforward:

typescript
npm install @languine/sdk
  1. Install the SDK
  2. Obtain an API key from your Languine dashboard
  3. Start translating with just a few lines of code

Documentation

We've launched comprehensive documentation for both the API and SDK:

  • API Documentation - Detailed API reference, authentication guides, and best practices
  • SDK Documentation - Installation instructions, quick start guides, and code examples

What's Next

This launch is just the beginning. We're committed to continuously improving and expanding our offerings based on developer feedback. Some features we're working on:

  • Additional file format support
  • Enhanced caching mechanisms
  • More language pair combinations
  • Advanced translation customization options

Try It Today

Ready to get started? Visit our documentation to begin integrating Languine into your applications. We can't wait to see what you'll build!

For any questions or feedback, don't hesitate to reach out to our team. We're here to help you succeed in your localization journey.

Get started

Localization infrastructure made for fast-paced startups.

Languine automates localization within your developer workflow and pipeline, ensuring translations never hold you up.