Re-arranging of files to move localized base files in /docs from /docs/en, updates to template crowdin.yaml, update to package.json to make calling crowdin easier. Updating documentation to reflect.

This commit is contained in:
Eric Nakagawa 2017-09-21 08:36:30 -07:00
parent fcc38e0e90
commit 8e9808c0f4
21 changed files with 1547 additions and 25 deletions

View file

@ -1,5 +1,11 @@
.DS_Store
node_modules
translated_docs
i18n
yarn.lock
.DS_Store
lib/core/metadata.js
lib/core/MetadataBlog.js
website/translated_docs
website/build/
website/yarn.lock
website/node_modules
website/i18n/*
!website/i18n/en.json

View file

@ -1,11 +1,11 @@
project_identifier_env: CROWDIN_PROJECT_ID
api_key_env: CROWDIN_API_KEY
project_identifier_env: CROWDIN_DOCUSAURUS_PROJECT_ID
api_key_env: CROWDIN_DOCUSAURUS_API_KEY
base_path: "./"
preserve_hierarchy: true
files:
-
source: '/docs/en/*.md'
source: '/docs/*.md'
translation: '/website/translated_docs/%locale%/%original_file_name%'
languages_mapping: &anchor
locale: