Bump version to 24.04.3.4
[LibreOffice.git] / solenv / inc / langlist.mk
blob0de00dff99a79ccbaf6635f4b5b78b11a371a333
2 # This file is part of the LibreOffice project.
4 # This Source Code Form is subject to the terms of the Mozilla Public
5 # License, v. 2.0. If a copy of the MPL was not distributed with this
6 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 # This file incorporates work covered by the following license notice:
10 # Licensed to the Apache Software Foundation (ASF) under one or more
11 # contributor license agreements. See the NOTICE file distributed
12 # with this work for additional information regarding copyright
13 # ownership. The ASF licenses this file to you under the Apache
14 # License, Version 2.0 (the "License"); you may not use this file
15 # except in compliance with the License. You may obtain a copy of
16 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 # Complete list of all supported localizations (ISO codes)
20 completelangiso=af \
21 am \
22 ar \
23 as \
24 ast \
25 be \
26 bg \
27 bn \
28 bn-IN \
29 bo \
30 br \
31 brx \
32 bs \
33 ca \
34 ca-valencia \
35 ckb \
36 cs \
37 cy \
38 da \
39 de \
40 dgo \
41 dsb \
42 dz \
43 el \
44 en-GB \
45 en-US \
46 en-ZA \
47 eo \
48 es \
49 et \
50 eu \
51 fa \
52 fi \
53 fr \
54 fur \
55 fy \
56 ga \
57 gd \
58 gl \
59 gu \
60 gug \
61 he \
62 hsb \
63 hi \
64 hr \
65 hu \
66 hy \
67 id \
68 is \
69 it \
70 ja \
71 ka \
72 kab \
73 kk \
74 km \
75 kmr-Latn \
76 kn \
77 ko \
78 kok \
79 ks \
80 lb \
81 lo \
82 lt \
83 lv \
84 mai \
85 mk \
86 ml \
87 mn \
88 mni \
89 mr \
90 my \
91 nb \
92 ne \
93 nl \
94 nn \
95 nr \
96 nso \
97 oc \
98 om \
99 or \
100 pa-IN \
101 pl \
102 pt \
103 pt-BR \
104 ro \
105 ru \
106 rw \
107 sa-IN \
108 sat \
109 sd \
110 sr-Latn \
111 si \
112 sid \
113 sk \
114 sl \
115 sq \
116 sr \
117 ss \
118 st \
119 sv \
120 sw-TZ \
121 szl \
122 ta \
123 te \
124 tg \
125 th \
126 tn \
127 tr \
128 ts \
129 tt \
130 ug \
131 uk \
132 uz \
133 ve \
134 vec \
135 vi \
136 xh \
137 zh-CN \
138 zh-TW \
141 ifneq ($(WITH_LANG),ALL)
142 gb_WITH_LANG=$(WITH_LANG)
143 else
144 # expand ALL based on language list)
145 gb_WITH_LANG=$(completelangiso)
146 endif
147 gb_HELP_LANGS := en-US
149 ifneq ($(ENABLE_RELEASE_BUILD),TRUE)
150 ifneq ($(WITH_LANG),)
151 gb_WITH_LANG += qtz
152 gb_HELP_LANGS += qtz
153 endif
154 endif
156 gb_TRANS_LANGS = $(filter-out en-US,$(filter-out qtz,$(gb_WITH_LANG)))
158 gb_HELP_LANGS += \
159 $(foreach lang,$(filter-out $(WITH_POOR_HELP_LOCALIZATIONS),$(gb_TRANS_LANGS)),\
160 $(if \
161 $(and \
162 $(wildcard $(SRCDIR)/helpcontent2/source/auxiliary/$(lang)),\
163 $(wildcard $(SRCDIR)/translations/source/$(lang)/helpcontent2)),\
164 $(lang)))
166 # Langs that need special handling for registry files. This is done by
167 # MAKE_LANG_SPECIFIC flag in scp.
168 gb_CJK_LANGS := $(filter $(gb_WITH_LANG),ja ko zh-CN zh-TW)
169 gb_CTL_LANGS := $(filter $(gb_WITH_LANG),ar bo dz fa gu he hi km ky-CN lo my ne or pa-IN ta th)
170 gb_CTLSEQCHECK_LANGS := $(filter $(gb_CTL_LANGS),km lo th)
172 # vim: set noet ts=4 sw=4: