scratch-l10n
Localization for the Scratch 3.0 components
Last updated 3 days ago by scratch .
BSD-3-Clause · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install scratch-l10n 
SYNC missed versions from official npm registry.

scratch-l10n

Translation of all Scratch projects is managed on the Transifex service: https://www.transifex.com/llk/public

This repository collects translations submitted to the Scratch projects on Transifex. Please do not submit PRs. If you would like to contribute translations, please sign up to translate on Transifex.

Using scratch-l10n in development

Installation

npm install --save-dev scratch-l10n

Basic Use

import locales, {localeData, isRtl} from 'scratch-l10n';
import editorMessages from 'scratch-l10n/locales/editor-messages';
  • locales: currently supported locales for the Scratch project
  • isRtl: function that returns true if the locale is one that is written right-to-left
  • localeData: locale data for the supported locales, in the format accepted by addLocaleData required by react-intl
  • editorMessages: the actual message strings for all supported locales for a particular resource. editorMessages collects all the strings for the interface, extensions and paint-editor.

Useful Scripts

scratch-l10n provides:

  • build-i18n-src: script that uses babel and plugins to extract all FormattedMessage strings for translation. Combines the message from all the source files into one en.json
  • tx-push-src: script to push the en.json file to Transifex. Requires that the environment variable TX_TOKEN is set with a value that has developer access to the Scratch projects on Transifex (i.e. Scratch Team only)

Versioning

scratch-l10n uses semantic versioning - breaking changes will increment the major version number, and new features (e.g. a new language) will increment the minor version number. However, the patch number is actually a datetime string. That way it's easy to see how recently the translations were updated.

In general, changes that require a PR (new functionality, new language) should increment the minor version. Pulling new translations from Transifex is automated and will commit to master directly.

Deprecations

We are moving away from using the tx cli, so the .tx/config file will eventually be deprecated.

Current Tags

  • 3.10.20200923030814                                ...           latest (3 days ago)

184 Versions

  • 3.10.20200923030814                                ...           3 days ago
  • 3.10.20200916030802                                ...           10 days ago
  • 3.10.20200909030847                                ...           17 days ago
  • 3.10.20200902030719                                ...           24 days ago
  • 3.10.20200826030836                                ...           a month ago
  • 3.10.20200819030716                                ...           a month ago
  • 3.10.20200812030801                                ...           a month ago
  • 3.10.20200805030706                                ...           2 months ago
  • 3.10.20200729030742                                ...           2 months ago
  • 3.10.20200722030735                                ...           2 months ago
  • 3.10.20200720182215                                ...           2 months ago
  • 3.10.20200715030910                                ...           2 months ago
  • 3.10.20200708030815                                ...           3 months ago
  • 3.10.20200624030914                                ...           3 months ago
  • 3.10.20200622132359                                ...           3 months ago
  • 3.10.20200617210158                                ...           3 months ago
  • 3.10.20200617135753                                ...           3 months ago
  • 3.9.20200616200843                                ...           3 months ago
  • 3.9.20200615152937                                ...           3 months ago
  • 3.9.20200615151719                                ...           3 months ago
  • 3.9.20200615151659                                ...           3 months ago
  • 3.9.20200615151559                                ...           3 months ago
  • 3.9.20200609200912                                ...           4 months ago
  • 3.9.20200603151351                                ...           4 months ago
  • 3.9.20200528181319                                ...           4 months ago
  • 3.9.20200528164600                                ...           4 months ago
  • 3.9.20200528120215                                ...           4 months ago
  • 3.9.20200527202656                                ...           4 months ago
  • 3.9.20200527200321                                ...           4 months ago
  • 3.9.20200527195951                                ...           4 months ago
  • 3.9.20200527185330                                ...           4 months ago
  • 3.9.20200527184715                                ...           4 months ago
  • 3.9.0                                ...           4 months ago
  • 3.9.20200526213608                                ...           4 months ago
  • 3.9.20200519213537                                ...           4 months ago
  • 3.9.20200512220101                                ...           4 months ago
  • 3.9.20200512112117                                ...           4 months ago
  • 3.8.20200505213509                                ...           5 months ago
  • 3.8.20200428213506                                ...           5 months ago
  • 3.8.20200421213407                                ...           5 months ago
  • 3.8.20200414213430                                ...           5 months ago
  • 3.8.20200407213553                                ...           6 months ago
  • 3.8.20200407204157                                ...           6 months ago
  • 3.8.20200325112845                                ...           6 months ago
  • 3.7.20200324213315                                ...           6 months ago
  • 3.7.20200317213230                                ...           6 months ago
  • 3.7.20200310213125                                ...           6 months ago
  • 3.7.20200303213115                                ...           7 months ago
  • 3.7.20200225213156                                ...           7 months ago
  • 3.7.20200218213016                                ...           7 months ago
  • 3.7.20200212141356                                ...           7 months ago
  • 3.7.20200205213636                                ...           8 months ago
  • 3.7.20200128224436                                ...           8 months ago
  • 3.7.20200121224403                                ...           8 months ago
  • 3.7.20200114224412                                ...           8 months ago
  • 3.7.20200108141814                                ...           9 months ago
  • 3.7.20191231224638                                ...           9 months ago
  • 3.7.20191224224558                                ...           9 months ago
  • 3.7.20191219145348                                ...           9 months ago
  • 3.6.20191210224141                                ...           9 months ago
  • 3.6.20191204142956                                ...           10 months ago
  • 3.6.20191120161253                                ...           10 months ago
  • 3.6.20191119224037                                ...           10 months ago
  • 3.6.20191112223853                                ...           10 months ago
  • 3.6.20191105224124                                ...           a year ago
  • 3.6.20191029224007                                ...           a year ago
  • 3.6.20191022223821                                ...           a year ago
  • 3.6.20191015223749                                ...           a year ago
  • 3.6.20191008224547                                ...           a year ago
  • 3.6.20191008170247                                ...           a year ago
  • 3.5.20190924223720                                ...           a year ago
  • 3.5.20190917223712                                ...           a year ago
  • 3.5.20190910223701                                ...           a year ago
  • 3.5.20190903223516                                ...           a year ago
  • 3.5.20190827223456                                ...           a year ago
  • 3.5.20190820223503                                ...           a year ago
  • 3.5.20190813223429                                ...           a year ago
  • 3.5.20190807144510                                ...           a year ago
  • 3.5.20190731161310                                ...           a year ago
  • 3.5.20190724182907                                ...           a year ago
  • 3.5.20190724160319                                ...           a year ago
  • 3.4.20190724150240                                ...           a year ago
  • 3.4.20190724121539                                ...           a year ago
  • 3.3.20190717144934                                ...           a year ago
  • 3.3.20190711005050                                ...           a year ago
  • 3.3.20190703172039                                ...           a year ago
  • 3.3.20190626154950                                ...           a year ago
  • 3.3.20190619145905                                ...           a year ago
  • 3.3.20190613181841                                ...           a year ago
  • 3.3.20190612144059                                ...           a year ago
  • 3.3.20190605143948                                ...           a year ago
  • 3.3.20190529144051                                ...           a year ago
  • 3.3.20190522144128                                ...           a year ago
  • 3.3.20190516144548                                ...           a year ago
  • 3.3.20190515143901                                ...           a year ago
  • 3.3.20190513203303                                ...           a year ago
  • 3.2.20190508221133                                ...           a year ago
  • 3.2.20190508143856                                ...           a year ago
  • 3.2.20190501144004                                ...           a year ago
  • 3.2.20190425212106                                ...           a year ago
  • 3.2.20190424182221                                ...           a year ago
  • 3.2.20190424151256                                ...           a year ago
  • 3.2.20190424143858                                ...           a year ago
  • 3.2.20190417195644                                ...           a year ago
  • 3.1.20190417193312                                ...           a year ago
  • 3.1.20190417143747                                ...           a year ago
  • 3.1.20190410143750                                ...           a year ago
  • 3.1.20190404094457                                ...           a year ago
  • 3.1.20190328114324                                ...           a year ago
  • 3.1.20190321105200                                ...           2 years ago
  • 3.1.20190220143732                                ...           2 years ago
  • 3.1.20190218084652                                ...           2 years ago
  • 3.1.20190218084634                                ...           2 years ago
  • 3.1.20190213193054                                ...           2 years ago
  • 3.1.20190213142844                                ...           2 years ago
  • 3.1.20190212153440                                ...           2 years ago
  • 3.1.20190211142555                                ...           2 years ago
  • 3.1.20190207224638                                ...           2 years ago
  • 3.1.20190206143031                                ...           2 years ago
  • 3.1.20190130142816                                ...           2 years ago
  • 3.1.20190123150639                                ...           2 years ago
  • 3.1.20190122145618                                ...           2 years ago
  • 3.1.20190117191816                                ...           2 years ago
  • 3.1.20190116193006                                ...           2 years ago
  • 3.1.20190116142721                                ...           2 years ago
  • 3.1.20190110195702                                ...           2 years ago
  • 3.1.20181220222259                                ...           2 years ago
  • 3.1.20181220190007                                ...           2 years ago
  • 3.1.20181213173343                                ...           2 years ago
  • 3.1.20181213140204                                ...           2 years ago
  • 3.1.20181210144244                                ...           2 years ago
  • 3.1.20181206185857                                ...           2 years ago
  • 3.1.20181129221712                                ...           2 years ago
  • 3.1.20181129204552                                ...           2 years ago
  • 3.1.20181127233746                                ...           2 years ago
  • 3.1.20181127224904                                ...           2 years ago
  • 3.0.20181121224721                                ...           2 years ago
  • 3.0.20181116134204                                ...           2 years ago
  • 3.0.20181115134359                                ...           2 years ago
  • 3.0.20181108141849                                ...           2 years ago
  • 3.0.20181031234255                                ...           2 years ago
  • 3.0.20181024221158                                ...           2 years ago
  • 3.0.20181010220115                                ...           2 years ago
  • 3.0.20181004141631                                ...           2 years ago
  • 3.0.20180926203705                                ...           2 years ago
  • 3.0.20180918211645                                ...           2 years ago
  • 3.0.20180830210150                                ...           2 years ago
  • 3.0.20180824134256                                ...           2 years ago
  • 3.0.20180823152851                                ...           2 years ago
  • 3.0.20180817135616                                ...           2 years ago
  • 3.0.20180810134928                                ...           2 years ago
  • 3.0.20180806205913                                ...           2 years ago
  • 3.0.20180803171042                                ...           2 years ago
  • 3.0.20180803165202                                ...           2 years ago
  • 3.0.20180803161232                                ...           2 years ago
  • 3.0.20180719145856                                ...           2 years ago
  • 3.0.20180712200642                                ...           2 years ago
  • 3.0.20180703181510                                ...           2 years ago
  • 3.0.20180627134459                                ...           2 years ago
  • 3.0.20180621153937                                ...           2 years ago
  • 3.0.20180621122949                                ...           2 years ago
  • 3.0.20180620124112                                ...           2 years ago
  • 3.0.20180611175036                                ...           2 years ago
  • 3.0.20180611163316                                ...           2 years ago
  • 3.0.20180604162003                                ...           2 years ago
  • 3.0.20180531214921                                ...           2 years ago
  • 3.0.20180522135735                                ...           2 years ago
  • 2.0.20180511152022                                ...           2 years ago
  • 2.0.20180508171104                                ...           2 years ago
  • 2.0.20180326170839                                ...           2 years ago
  • 2.0.20180319205405                                ...           3 years ago
  • 2.0.20180108132626                                ...           3 years ago
  • 2.0.20171211145754                                ...           3 years ago
  • 2.0.20171127165917                                ...           3 years ago
  • 2.0.20171106191923                                ...           3 years ago
  • 2.0.20171106191229                                ...           3 years ago
  • 2.0.20171031181107                                ...           3 years ago
  • 2.0.20171019123319                                ...           3 years ago
  • 1.0.20171013211708                                ...           3 years ago
  • 1.0.20171013141941                                ...           3 years ago
  • 1.0.20171013141146                                ...           3 years ago
  • 1.0.20171005142419                                ...           3 years ago
  • 0.1.20171005130211                                ...           3 years ago
  • 0.1.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 1
This Week 280
This Month 1,448
Last Day 68
Last Week 409
Last Month 1,630
Dependencies (4)
Dependents (2)

Copyright 2014 - 2016 © taobao.org |