config.yaml 3.71 KB
Newer Older
1 2
# Configuration for i18n workflow.

3
locales:
4
    - en  # English - Source Language
Sarina Canelake committed
5
    - am  # Amharic
6
    - ar  # Arabic
Sarina Canelake committed
7 8 9 10 11
    - az  # Azerbaijani
    - bg_BG  # Bulgarian (Bulgaria)
    - bn_BD  # Bengali (Bangladesh)
    - bn_IN  # Bengali (India)
    - bs  # Bosnian
12
    - ca  # Catalan
Sarina Canelake committed
13
    - ca@valencia  # Catalan (Valencia)
14
    - cs  # Czech
Sarina Canelake committed
15 16
    - cy  # Welsh
    - da  # Danish
17
    - de_DE  # German (Germany)
Sarina Canelake committed
18
    - el  # Greek
19 20 21 22
    # Don't pull these until we figure out why pages randomly display in these locales,
    # when the user's browser is in English and the user is not logged in.
#    - en@lolcat  # LOLCAT English
#    - en@pirate  # Pirate English
23
    - es_419  # Spanish (Latin America)
Sarina Canelake committed
24 25
    - es_AR  # Spanish (Argentina)
    - es_EC  # Spanish (Ecuador)
26
    - es_ES  # Spanish (Spain)
Sarina Canelake committed
27 28 29 30 31 32 33
    - es_MX  # Spanish (Mexico)
    - es_PE  # Spanish (Peru)
    - et_EE  # Estonian (Estonia)
    - eu_ES  # Basque (Spain)
    - fa  # Persian
    - fa_IR  # Persian (Iran)
    - fi_FI  # Finnish (Finland)
34
    - fr  # French
Sarina Canelake committed
35
    - gl  # Galician
Sarina Canelake committed
36
    - gu  # Gujarati
Sarina Canelake committed
37
    - he  # Hebrew
38
    - hi  # Hindi
Sarina Canelake committed
39
    - hr  # Croatian
Sarina Canelake committed
40
    - hu  # Hungarian
41 42 43 44
    - hy_AM  # Armenian (Armenia)
    - id  # Indonesian
    - it_IT  # Italian (Italy)
    - ja_JP  # Japanese (Japan)
Sarina Canelake committed
45 46 47
    - kk_KZ  # Kazakh (Kazakhstan)
    - km_KH  # Khmer (Cambodia)
    - kn  # Kannada
48 49
    - ko_KR  # Korean (Korea)
    - lt_LT  # Lithuanian (Lithuania)
Sarina Canelake committed
50 51 52
    - ml  # Malayalam
    - mn  # Mongolian
    - ms  # Malay
53
    - nb  # Norwegian Bokmål
Sarina Canelake committed
54
    - ne  # Nepali
55
    - nl_NL  # Dutch (Netherlands)
Sarina Canelake committed
56
    - or  # Oriya
57 58
    - pl  # Polish
    - pt_BR  # Portuguese (Brazil)
Sarina Canelake committed
59 60 61 62 63
    - pt_PT  # Portuguese (Portugal)
    - ro  # Romanian
    - ru  # Russian
    - si  # Sinhala
    - sk  # Slovak
64
    - sl  # Slovenian
Sarina Canelake committed
65
    - ta  # Tamil
Sarina Canelake committed
66
    - th  # Thai
67 68
    - tr_TR  # Turkish (Turkey)
    - uk  # Ukranian
Sarina Canelake committed
69
    - ur  # Urdu
70 71
    - vi  # Vietnamese
    - zh_CN  # Chinese (China)
72
    - zh_HK  # Chinese (Hong Kong)
73
    - zh_TW  # Chinese (Taiwan)
74 75


76 77 78 79
# The locales used for fake-accented English, for testing.
dummy_locales:
    - eo
    - fake2
Ned Batchelder committed
80

81 82 83 84 85 86 87 88 89
# Directories we don't search for strings.
ignore_dirs:
    - docs
    - src
    - i18n
    - test_root
    - common/static/xmodule/modules
    - common/static/xmodule/descriptors

90 91 92 93 94 95 96 97

# Third-party installed apps that we also extract strings from.  When adding a
# file here, also add it to the django.po merge files below, and to the
# .tx/config file so that it will be pushed to and pulled from transifex.
third_party:
    - wiki


Ned Batchelder committed
98 99 100 101 102 103 104 105 106 107 108 109
# How should .po files be segmented?  See i18n/segment.py for details. Strings
# that are only found in a particular segment are segregated into that .po file
# so that translators can focus on separate parts of the product.
#
# We segregate Studio so we can provide new languages for LMS without having to
# also translate the Studio strings. LMS needs the strings from lms/* and
# common/*, so those will stay in the main .po file.
segment:
    django-partial.po:          # This .po file..
        django-studio.po:       #  produces this .po file..
            - cms/*             #   by segregating strings from these files.
        # Anything that doesn't match a pattern stays in the original file.
110
    djangojs-partial.po:
Ned Batchelder committed
111 112 113 114 115
        djangojs-studio.po:
            - cms/*
    mako.po:
        mako-studio.po:
            - cms/*
116 117 118
    underscore.po:
        underscore-studio.po:
            - cms/*
119 120 121 122 123 124 125 126 127

# How should the generate step merge files?
generate_merge:
    django.po:
        - django-partial.po
        - django-studio.po
        - mako.po
        - mako-studio.po
        - messages.po
128
        - wiki.po
129
    djangojs.po:
130
        - djangojs-partial.po
131
        - djangojs-studio.po
132
        - underscore.po
133
        - underscore-studio.po