@shopify/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 shopify-dep .
MIT · Original npm · Tarball · package.json
$ cnpm install @shopify/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.4                                ...           latest (2 months ago)
  • 0.0.4-asset-dir-fix-beta.1                                ...           next (2 months ago)

9 Versions

  • 0.0.4                                ...           2 months ago
  • 0.0.4-asset-dir-fix-beta.1                                ...           2 months ago
  • 0.0.3-beta.upgrade-minicss-3                                ...           2 months ago
  • 0.0.3-beta.upgrade-minicss-2                                ...           2 months ago
  • 0.0.4-beta.up-deps-march-2020                                ...           2 months ago
  • 0.0.4-config-packages-beta.3                                ...           2 months ago
  • 0.0.4-config-packages-beta.1                                ...           2 months ago
  • 0.0.3                                ...           3 months ago
  • 0.0.2                                ...           6 months ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |