Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cp-translations

Package Overview
Dependencies
Maintainers
5
Versions
197
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cp-translations

Translations for the CoderDojo Community Platform

  • 1.0.167
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.8K
decreased by-19.05%
Maintainers
5
Weekly downloads
 
Created
Source

cp-translations

Translations for the CoderDojo Community Platform

Any new languages that are translated on crowdin will need adding to the CircleCI Config in the 'Download translations' section, on this line (abbreviated):

for lang in it pt-PT de ...

Deployment

This repo self-publish on commit. Please update the package.json file in the repos depending on it after it has been published when necessary. This easiest way to see if that string is used is to git grep translation_key into each of the repos.

Repos

  • cp-dojos-service (email only)
  • cp-events-service (email only)
  • cp-users-service (email only)
  • cp-zen-frontend (vuejs front-end)

Once these are all updated, merged and deployed, you will need to update the main repo to pull in both the updated cp-translations and cp-zen-frontend packages:

  • cp-zen-platform (angular front-end)

New languages will need to be added to the languages config file in cp-zen-platform - the code needs to be the locale, e.g. 'en_US' (this will match the folder added in the installed cp-translations node_module)

Trigger a Build

To trigger a build of the translations without a new commit (e.g. to include new community translations)

Generate a circle api token from the account/api page

Use the token in the following curl request:

curl -XPOST https://circleci.com/api/v1.1/project/github/CoderDojo/cp-translations/build\?circle-token\=[TOKEN]

Keywords

FAQs

Package last updated on 25 Apr 2022

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc