@goodforonefare/translation-platform-utilities
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE.md) [![npm version](https://badge.fury.io/js/%40shopify%2Ftranslation-platform-utilities.svg)](https://badge.fury.io/js/%40shopify%2Ftranslation-platform-utilities.svg)
Last updated 2 months ago by goodforonefare .
MIT · Original npm · Tarball · package.json
$ cnpm install @goodforonefare/translation-platform-utilities 
SYNC missed versions from official npm registry.

@shopify/translation-platform-utilities

License: MIT npm version

Utilities for working with Shopify's translation platform configuration files.

Installation

$ yarn add @shopify/translation-platform-utilities

Usage

import {loadLocales} from '@shopify/translation-platform-utilities';

const locales = await loadLocales({
  rootDirectory: this.rootPath,
});

locales.forEach((locale) => {
  console.log(locale);
});

CLI Usage

In shopify-build with parallelism enabled , sewing-kit-locale can be used to determine the locale for the current build job, e.g.:

$ yarn --silent shopify-build-locale
> en

Current Tags

  • 0.0.10                                ...           latest (2 months ago)

4 Versions

  • 0.0.10                                ...           2 months ago
  • 0.0.7                                ...           2 months ago
  • 0.0.5                                ...           2 months ago
  • 0.0.1                                ...           2 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 4
Last Day 0
Last Week 4
Last Month 13
Dependencies (2)
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |