Skip to content

Simple function to download translations on Lokalise

Notifications You must be signed in to change notification settings

mattp0123/fetch-lokalise

Repository files navigation

What is this

This is a simple helper for me to download and format translations from Lokalise.

  • ESModule supported

How to use

import fetchLokalise from 'fetch-lokalise';

await fetchLokalise({
  // Required
  projectId: 'your-lokalise-project-id',
  token: 'your-lokalise-api-token',
  outDir: 'path/to/your/locale',

  // Optional
  tags: ['tag_1', 'tag_2'],
});

About

Simple function to download translations on Lokalise

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published