File: crowdin.yaml

package info (click to toggle)
node-jest 29.6.2~ds1%2B~cs73.45.28-5
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 33,020 kB
  • sloc: javascript: 21,648; makefile: 47; sh: 21
file content (49 lines) | stat: -rw-r--r-- 1,321 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#
# Your Crowdin credentials
#
project_id: '428892'
api_token_env: 'CROWDIN_PERSONAL_TOKEN'

base_path: '.'
base_url: 'https://api.crowdin.com'
preserve_hierarchy: true

# See Yaml anchors: https://support.atlassian.com/bitbucket-cloud/docs/yaml-anchors/
languages_mapping: &languages_mapping
  locale:
    'es-ES': 'es-ES'
    'fr': 'fr'
    'ja': 'ja'
    'pt-BR': 'pt-BR'
    'ro': 'ro'
    'ru': 'ru'
    'uk': 'uk'
    'zh-CN': 'zh-Hans'

#
# Files configuration
# see https://support.crowdin.com/configuration-file/
#
files:
  [
    {
      'source': '/website/i18n/en/**/*',
      'translation': '/website/i18n/%locale%/**/%original_file_name%',
      'languages_mapping': *languages_mapping,
    },
    {
      'source': '/docs/**/*',
      'translation': '/website/i18n/%locale%/docusaurus-plugin-content-docs/current/**/%original_file_name%',
      'languages_mapping': *languages_mapping,
    },
    {
      'source': '/website/versioned_docs/**/*',
      'translation': '/website/i18n/%locale%/docusaurus-plugin-content-docs/**/%original_file_name%',
      'languages_mapping': *languages_mapping,
    },
    {
      'source': '/website/blog/**/*',
      'translation': '/website/i18n/%locale%/docusaurus-plugin-content-blog/**/%original_file_name%',
      'languages_mapping': *languages_mapping,
    },
  ]