
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
@globalfishingwatch/i18n-labels
Advanced tools
A library for managing i18n labels in Global Fishing Watch applications.
A library for managing i18n labels in Global Fishing Watch applications.
This library contains JSON files with translations and labels for:
It uses Crowdin for managing the translations files
As a developer the only file you need to care about is the source/ file, the rest is managed by the Crowdin project.
The library is organized into language-specific directories:
i18n-labels/
āāā en/ # English translations
āāā es/ # Spanish translations
āāā fr/ # French translations
āāā id/ # Indonesian translations
āāā pt/ # Portuguese translations
āāā source/ # Source JSON files
āāā val/ # Used for the crowdin live translation
yarn add @globalfishingwatch/i18n-labels
datasets.json)Contains translations for dataset names, descriptions and schema definitions.
Example usage:
import { datasets } from '@globalfishingwatch/i18n-labels'
// Access dataset information
const bathymetryInfo = datasets['public-global-bathymetry']
console.log(bathymetryInfo.name) // "Bathymetry"
flags.json)Contains country names mapped to their ISO-3 codes.
Example usage:
import { flags } from '@globalfishingwatch/i18n-labels'
console.log(flags.USA) // "United States of America"
timebar.json)Contains translations for the time navigation interface elements:
Example usage:
import { timebar } from '@globalfishingwatch/i18n-labels'
console.log(timebar.playback.playAnimation) // "Play animation"
nx build i18n-labels
nx publish i18n-labels
MIT
FAQs
A library for managing i18n labels in Global Fishing Watch applications.
The npm package @globalfishingwatch/i18n-labels receives a total of 47 weekly downloads. As such, @globalfishingwatch/i18n-labels popularity was classified as not popular.
We found that @globalfishingwatch/i18n-labels demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Ā It has 4 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.