i18n-language-mapping 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: e498f8b3fa09c6ab9be2e86bde8efd78a8d742b744e8f1073520c6506c4abc88
4
+ data.tar.gz: 828c790278d01c7c420fa5cbbcbd9e9303ad6aa8548ed9bbd6d54506352e68e7
5
+ SHA512:
6
+ metadata.gz: 8f70fe43193143868232fe82232bcc97e16b00da3c67fa375868b90e20d401ce8da525d0fb1a6bade558900a58720c8df3b0db5dcbccb6abe5b07bd20f3fec47
7
+ data.tar.gz: 055c1891a2b8594891c630dade1dc0dbaa6d4467602c76496b8cad002a9dc584b95a9b4addeb6f9f9a455ce5847223d26842723978dd6ef2df4059b705edfbbe
data/.gitignore ADDED
@@ -0,0 +1,50 @@
1
+ *.gem
2
+ *.rbc
3
+ /.config
4
+ /coverage/
5
+ /InstalledFiles
6
+ /pkg/
7
+ /spec/reports/
8
+ /spec/examples.txt
9
+ /test/tmp/
10
+ /test/version_tmp/
11
+ /tmp/
12
+
13
+ # Used by dotenv library to load environment variables.
14
+ # .env
15
+
16
+ ## Specific to RubyMotion:
17
+ .dat*
18
+ .repl_history
19
+ build/
20
+ *.bridgesupport
21
+ build-iPhoneOS/
22
+ build-iPhoneSimulator/
23
+
24
+ ## Specific to RubyMotion (use of CocoaPods):
25
+ #
26
+ # We recommend against adding the Pods directory to your .gitignore. However
27
+ # you should judge for yourself, the pros and cons are mentioned at:
28
+ # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
29
+ #
30
+ # vendor/Pods/
31
+
32
+ ## Documentation cache and generated files:
33
+ /.yardoc/
34
+ /_yardoc/
35
+ /doc/
36
+ /rdoc/
37
+
38
+ ## Environment normalization:
39
+ /.bundle/
40
+ /vendor/bundle
41
+ /lib/bundler/man/
42
+
43
+ # for a library or gem, you might want to ignore these files since the code is
44
+ # intended to run in multiple environments; otherwise, check them in:
45
+ # Gemfile.lock
46
+ # .ruby-version
47
+ # .ruby-gemset
48
+
49
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
50
+ .rvmrc
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at jesus@123it.ca. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in i18n-language-mapping.gemspec
6
+ gemspec
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2019 Blindside Networks
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 jfederico
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,41 @@
1
+ # I18n::Language::Mapping
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/language/mapping`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'i18n-language-mapping'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install i18n-language-mapping
20
+
21
+ ## Usage
22
+
23
+ TODO: Write usage instructions here
24
+
25
+ ## Development
26
+
27
+ After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
28
+
29
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
30
+
31
+ ## Contributing
32
+
33
+ Bug reports and pull requests are welcome on GitHub at https://github.com/blindsidenetworks/i18n-language-mapping. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
34
+
35
+ ## License
36
+
37
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
38
+
39
+ ## Code of Conduct
40
+
41
+ Everyone interacting in the I18n::Language::Mapping project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/blindsidenetworks/i18n-language-mapping/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "language/mapping"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,28 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "i18n/language/mapping/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "i18n-language-mapping"
8
+ spec.version = I18n::Language::Mapping::VERSION
9
+ spec.authors = ["jfederico"]
10
+ spec.email = ["jesus@123it.ca"]
11
+
12
+ spec.summary = %q{List of all the known languages in their English and Native name with locales.}
13
+ spec.description = %q{List of all the known languages in their English and Native name with locales.}
14
+ spec.homepage = "https://github.com/blindsidenetworks/i18n-language-mapping"
15
+ spec.license = "MIT"
16
+
17
+ # Specify which files should be added to the gem when it is released.
18
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
19
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
20
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
21
+ end
22
+ spec.bindir = "exe"
23
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
24
+ spec.require_paths = ["lib"]
25
+
26
+ spec.add_development_dependency "bundler", "~> 1.16"
27
+ spec.add_development_dependency "rake", "~> 10.0"
28
+ end
@@ -0,0 +1,7 @@
1
+ module I18n
2
+ module Language
3
+ module Mapping
4
+ VERSION = "0.1.0"
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,870 @@
1
+ require "i18n/language/mapping/version"
2
+
3
+ require 'json'
4
+
5
+ module I18n
6
+ module Language
7
+ module Mapping
8
+ def self.language_mapping_list
9
+ JSON.parse(language_mapping_json)
10
+ end
11
+
12
+ def self.language_mapping_json
13
+ '{
14
+ "ach": {
15
+ "nativeName": "Lwo",
16
+ "englishName": "Acholi"
17
+ },
18
+ "ady": {
19
+ "nativeName": "Адыгэбзэ",
20
+ "englishName": "Adyghe"
21
+ },
22
+ "af": {
23
+ "nativeName": "Afrikaans",
24
+ "englishName": "Afrikaans"
25
+ },
26
+ "af-NA": {
27
+ "nativeName": "Afrikaans (Namibia)",
28
+ "englishName": "Afrikaans (Namibia)"
29
+ },
30
+ "af-ZA": {
31
+ "nativeName": "Afrikaans (South Africa)",
32
+ "englishName": "Afrikaans (South Africa)"
33
+ },
34
+ "ak": {
35
+ "nativeName": "Tɕɥi",
36
+ "englishName": "Akan"
37
+ },
38
+ "ar": {
39
+ "nativeName": "العربية",
40
+ "englishName": "Arabic"
41
+ },
42
+ "ar-AR": {
43
+ "nativeName": "العربية",
44
+ "englishName": "Arabic"
45
+ },
46
+ "ar-MA": {
47
+ "nativeName": "العربية",
48
+ "englishName": "Arabic (Morocco)"
49
+ },
50
+ "ar-SA": {
51
+ "nativeName": "العربية (السعودية)",
52
+ "englishName": "Arabic (Saudi Arabia)"
53
+ },
54
+ "ay-BO": {
55
+ "nativeName": "Aymar aru",
56
+ "englishName": "Aymara"
57
+ },
58
+ "az": {
59
+ "nativeName": "Azərbaycan dili",
60
+ "englishName": "Azerbaijani"
61
+ },
62
+ "az-AZ": {
63
+ "nativeName": "Azərbaycan dili",
64
+ "englishName": "Azerbaijani"
65
+ },
66
+ "be-BY": {
67
+ "nativeName": "Беларуская",
68
+ "englishName": "Belarusian"
69
+ },
70
+ "bg": {
71
+ "nativeName": "Български",
72
+ "englishName": "Bulgarian"
73
+ },
74
+ "bg-BG": {
75
+ "nativeName": "Български",
76
+ "englishName": "Bulgarian"
77
+ },
78
+ "bn": {
79
+ "nativeName": "বাংলা",
80
+ "englishName": "Bengali"
81
+ },
82
+ "bn-IN": {
83
+ "nativeName": "বাংলা (ভারত)",
84
+ "englishName": "Bengali (India)"
85
+ },
86
+ "bn-BD": {
87
+ "nativeName": "বাংলা(বাংলাদেশ)",
88
+ "englishName": "Bengali (Bangladesh)"
89
+ },
90
+ "bs-BA": {
91
+ "nativeName": "Bosanski",
92
+ "englishName": "Bosnian"
93
+ },
94
+ "ca": {
95
+ "nativeName": "Català",
96
+ "englishName": "Catalan"
97
+ },
98
+ "ca-ES": {
99
+ "nativeName": "Català",
100
+ "englishName": "Catalan"
101
+ },
102
+ "cak": {
103
+ "nativeName": "Maya Kaqchikel",
104
+ "englishName": "Kaqchikel"
105
+ },
106
+ "ck-US": {
107
+ "nativeName": "ᏣᎳᎩ (tsalagi)",
108
+ "englishName": "Cherokee"
109
+ },
110
+ "cs": {
111
+ "nativeName": "Čeština",
112
+ "englishName": "Czech"
113
+ },
114
+ "cs-CZ": {
115
+ "nativeName": "Čeština",
116
+ "englishName": "Czech"
117
+ },
118
+ "cy": {
119
+ "nativeName": "Cymraeg",
120
+ "englishName": "Welsh"
121
+ },
122
+ "cy-GB": {
123
+ "nativeName": "Cymraeg",
124
+ "englishName": "Welsh"
125
+ },
126
+ "da": {
127
+ "nativeName": "Dansk",
128
+ "englishName": "Danish"
129
+ },
130
+ "da-DK": {
131
+ "nativeName": "Dansk",
132
+ "englishName": "Danish"
133
+ },
134
+ "de": {
135
+ "nativeName": "Deutsch",
136
+ "englishName": "German"
137
+ },
138
+ "de-AT": {
139
+ "nativeName": "Deutsch (Österreich)",
140
+ "englishName": "German (Austria)"
141
+ },
142
+ "de-DE": {
143
+ "nativeName": "Deutsch (Deutschland)",
144
+ "englishName": "German (Germany)"
145
+ },
146
+ "de-CH": {
147
+ "nativeName": "Deutsch (Schweiz)",
148
+ "englishName": "German (Switzerland)"
149
+ },
150
+ "dsb": {
151
+ "nativeName": "Dolnoserbšćina",
152
+ "englishName": "Lower Sorbian"
153
+ },
154
+ "el": {
155
+ "nativeName": "Ελληνικά",
156
+ "englishName": "Greek"
157
+ },
158
+ "el-GR": {
159
+ "nativeName": "Ελληνικά",
160
+ "englishName": "Greek (Greece)"
161
+ },
162
+ "en": {
163
+ "nativeName": "English",
164
+ "englishName": "English"
165
+ },
166
+ "en-GB": {
167
+ "nativeName": "English (UK)",
168
+ "englishName": "English (UK)"
169
+ },
170
+ "en-AU": {
171
+ "nativeName": "English (Australia)",
172
+ "englishName": "English (Australia)"
173
+ },
174
+ "en-CA": {
175
+ "nativeName": "English (Canada)",
176
+ "englishName": "English (Canada)"
177
+ },
178
+ "en-IE": {
179
+ "nativeName": "English (Ireland)",
180
+ "englishName": "English (Ireland)"
181
+ },
182
+ "en-IN": {
183
+ "nativeName": "English (India)",
184
+ "englishName": "English (India)"
185
+ },
186
+ "en-PI": {
187
+ "nativeName": "English (Pirate)",
188
+ "englishName": "English (Pirate)"
189
+ },
190
+ "en-UD": {
191
+ "nativeName": "English (Upside Down)",
192
+ "englishName": "English (Upside Down)"
193
+ },
194
+ "en-US": {
195
+ "nativeName": "English (US)",
196
+ "englishName": "English (US)"
197
+ },
198
+ "en-ZA": {
199
+ "nativeName": "English (South Africa)",
200
+ "englishName": "English (South Africa)"
201
+ },
202
+ "en@pirate": {
203
+ "nativeName": "English (Pirate)",
204
+ "englishName": "English (Pirate)"
205
+ },
206
+ "eo": {
207
+ "nativeName": "Esperanto",
208
+ "englishName": "Esperanto"
209
+ },
210
+ "eo-EO": {
211
+ "nativeName": "Esperanto",
212
+ "englishName": "Esperanto"
213
+ },
214
+ "es": {
215
+ "nativeName": "Español",
216
+ "englishName": "Spanish"
217
+ },
218
+ "es-AR": {
219
+ "nativeName": "Español (Argentine)",
220
+ "englishName": "Spanish (Argentina)"
221
+ },
222
+ "es-419": {
223
+ "nativeName": "Español (Latinoamérica)",
224
+ "englishName": "Spanish (Latin America)"
225
+ },
226
+ "es-CL": {
227
+ "nativeName": "Español (Chile)",
228
+ "englishName": "Spanish (Chile)"
229
+ },
230
+ "es-CO": {
231
+ "nativeName": "Español (Colombia)",
232
+ "englishName": "Spanish (Colombia)"
233
+ },
234
+ "es-EC": {
235
+ "nativeName": "Español (Ecuador)",
236
+ "englishName": "Spanish (Ecuador)"
237
+ },
238
+ "es-ES": {
239
+ "nativeName": "Español (España)",
240
+ "englishName": "Spanish (Spain)"
241
+ },
242
+ "es-LA": {
243
+ "nativeName": "Español (Latinoamérica)",
244
+ "englishName": "Spanish (Latin America)"
245
+ },
246
+ "es-NI": {
247
+ "nativeName": "Español (Nicaragua)",
248
+ "englishName": "Spanish (Nicaragua)"
249
+ },
250
+ "es-MX": {
251
+ "nativeName": "Español (México)",
252
+ "englishName": "Spanish (Mexico)"
253
+ },
254
+ "es-US": {
255
+ "nativeName": "Español (Estados Unidos)",
256
+ "englishName": "Spanish (United States)"
257
+ },
258
+ "es-VE": {
259
+ "nativeName": "Español (Venezuela)",
260
+ "englishName": "Spanish (Venezuela)"
261
+ },
262
+ "et": {
263
+ "nativeName": "eesti keel",
264
+ "englishName": "Estonian"
265
+ },
266
+ "et-EE": {
267
+ "nativeName": "Eesti (Estonia)",
268
+ "englishName": "Estonian (Estonia)"
269
+ },
270
+ "eu": {
271
+ "nativeName": "Euskara",
272
+ "englishName": "Basque"
273
+ },
274
+ "eu-ES": {
275
+ "nativeName": "Euskara",
276
+ "englishName": "Basque"
277
+ },
278
+ "fa": {
279
+ "nativeName": "فارسی",
280
+ "englishName": "Persian"
281
+ },
282
+ "fa-IR": {
283
+ "nativeName": "فارسی",
284
+ "englishName": "Persian"
285
+ },
286
+ "fb-LT": {
287
+ "nativeName": "Leet Speak",
288
+ "englishName": "Leet"
289
+ },
290
+ "ff": {
291
+ "nativeName": "Fulah",
292
+ "englishName": "Fulah"
293
+ },
294
+ "fi": {
295
+ "nativeName": "Suomi",
296
+ "englishName": "Finnish"
297
+ },
298
+ "fi-FI": {
299
+ "nativeName": "Suomi",
300
+ "englishName": "Finnish"
301
+ },
302
+ "fo-FO": {
303
+ "nativeName": "Føroyskt",
304
+ "englishName": "Faroese"
305
+ },
306
+ "fr": {
307
+ "nativeName": "Français",
308
+ "englishName": "French"
309
+ },
310
+ "fr-CA": {
311
+ "nativeName": "Français (Canada)",
312
+ "englishName": "French (Canada)"
313
+ },
314
+ "fr-FR": {
315
+ "nativeName": "Français (France)",
316
+ "englishName": "French (France)"
317
+ },
318
+ "fr-BE": {
319
+ "nativeName": "Français (Belgique)",
320
+ "englishName": "French (Belgium)"
321
+ },
322
+ "fr-CH": {
323
+ "nativeName": "Français (Suisse)",
324
+ "englishName": "French (Switzerland)"
325
+ },
326
+ "fy-NL": {
327
+ "nativeName": "Frysk",
328
+ "englishName": "Frisian (West)"
329
+ },
330
+ "ga": {
331
+ "nativeName": "Gaeilge",
332
+ "englishName": "Irish"
333
+ },
334
+ "ga-IE": {
335
+ "nativeName": "Gaeilge (Gaelic)",
336
+ "englishName": "Irish (Gaelic)"
337
+ },
338
+ "gl": {
339
+ "nativeName": "Galego",
340
+ "englishName": "Galician"
341
+ },
342
+ "gl-ES": {
343
+ "nativeName": "Galego",
344
+ "englishName": "Galician"
345
+ },
346
+ "gn-PY": {
347
+ "nativeName": "Avañe\"ẽ",
348
+ "englishName": "Guarani"
349
+ },
350
+ "gu-IN": {
351
+ "nativeName": "ગુજરાતી",
352
+ "englishName": "Gujarati"
353
+ },
354
+ "gx-GR": {
355
+ "nativeName": "Ἑλληνική ἀρχαία",
356
+ "englishName": "Classical Greek"
357
+ },
358
+ "he": {
359
+ "nativeName": "עברית‏",
360
+ "englishName": "Hebrew"
361
+ },
362
+ "he-IL": {
363
+ "nativeName": "עברית‏",
364
+ "englishName": "Hebrew"
365
+ },
366
+ "hi": {
367
+ "nativeName": "हिन्दी",
368
+ "englishName": "Hindi"
369
+ },
370
+ "hi-IN": {
371
+ "nativeName": "हिन्दी",
372
+ "englishName": "Hindi"
373
+ },
374
+ "hr": {
375
+ "nativeName": "Hrvatski",
376
+ "englishName": "Croatian"
377
+ },
378
+ "hr-HR": {
379
+ "nativeName": "Hrvatski",
380
+ "englishName": "Croatian"
381
+ },
382
+ "hsb": {
383
+ "nativeName": "Hornjoserbšćina",
384
+ "englishName": "Upper Sorbian"
385
+ },
386
+ "ht": {
387
+ "nativeName": "Kreyòl",
388
+ "englishName": "Haitian Creole"
389
+ },
390
+ "hu": {
391
+ "nativeName": "Magyar",
392
+ "englishName": "Hungarian"
393
+ },
394
+ "hu-HU": {
395
+ "nativeName": "Magyar",
396
+ "englishName": "Hungarian"
397
+ },
398
+ "hy-AM": {
399
+ "nativeName": "Հայերեն",
400
+ "englishName": "Armenian"
401
+ },
402
+ "id": {
403
+ "nativeName": "Bahasa Indonesia",
404
+ "englishName": "Indonesian"
405
+ },
406
+ "id-ID": {
407
+ "nativeName": "Bahasa Indonesia",
408
+ "englishName": "Indonesian"
409
+ },
410
+ "is": {
411
+ "nativeName": "Íslenska",
412
+ "englishName": "Icelandic"
413
+ },
414
+ "is-IS": {
415
+ "nativeName": "Íslenska (Iceland)",
416
+ "englishName": "Icelandic (Iceland)"
417
+ },
418
+ "it": {
419
+ "nativeName": "Italiano",
420
+ "englishName": "Italian"
421
+ },
422
+ "it-IT": {
423
+ "nativeName": "Italiano",
424
+ "englishName": "Italian"
425
+ },
426
+ "ja": {
427
+ "nativeName": "日本語",
428
+ "englishName": "Japanese"
429
+ },
430
+ "ja-JP": {
431
+ "nativeName": "日本語",
432
+ "englishName": "Japanese"
433
+ },
434
+ "jv-ID": {
435
+ "nativeName": "Basa Jawa",
436
+ "englishName": "Javanese"
437
+ },
438
+ "ka-GE": {
439
+ "nativeName": "ქართული",
440
+ "englishName": "Georgian"
441
+ },
442
+ "kk-KZ": {
443
+ "nativeName": "Қазақша",
444
+ "englishName": "Kazakh"
445
+ },
446
+ "km": {
447
+ "nativeName": "ភាសាខ្មែរ",
448
+ "englishName": "Khmer"
449
+ },
450
+ "km-KH": {
451
+ "nativeName": "ភាសាខ្មែរ",
452
+ "englishName": "Khmer"
453
+ },
454
+ "kab": {
455
+ "nativeName": "Taqbaylit",
456
+ "englishName": "Kabyle"
457
+ },
458
+ "kn": {
459
+ "nativeName": "ಕನ್ನಡ",
460
+ "englishName": "Kannada"
461
+ },
462
+ "kn-IN": {
463
+ "nativeName": "ಕನ್ನಡ (India)",
464
+ "englishName": "Kannada (India)"
465
+ },
466
+ "ko": {
467
+ "nativeName": "한국어",
468
+ "englishName": "Korean"
469
+ },
470
+ "ko-KR": {
471
+ "nativeName": "한국어 (韩国)",
472
+ "englishName": "Korean (Korea)"
473
+ },
474
+ "ku-TR": {
475
+ "nativeName": "Kurdî",
476
+ "englishName": "Kurdish"
477
+ },
478
+ "la": {
479
+ "nativeName": "Latin",
480
+ "englishName": "Latin"
481
+ },
482
+ "la-VA": {
483
+ "nativeName": "Latin",
484
+ "englishName": "Latin"
485
+ },
486
+ "lb": {
487
+ "nativeName": "Lëtzebuergesch",
488
+ "englishName": "Luxembourgish"
489
+ },
490
+ "li-NL": {
491
+ "nativeName": "Lèmbörgs",
492
+ "englishName": "Limburgish"
493
+ },
494
+ "lt": {
495
+ "nativeName": "Lietuvių",
496
+ "englishName": "Lithuanian"
497
+ },
498
+ "lt-LT": {
499
+ "nativeName": "Lietuvių",
500
+ "englishName": "Lithuanian"
501
+ },
502
+ "lv": {
503
+ "nativeName": "Latviešu",
504
+ "englishName": "Latvian"
505
+ },
506
+ "lv-LV": {
507
+ "nativeName": "Latviešu",
508
+ "englishName": "Latvian"
509
+ },
510
+ "mai": {
511
+ "nativeName": "मैथिली, মৈথিলী",
512
+ "englishName": "Maithili"
513
+ },
514
+ "mg-MG": {
515
+ "nativeName": "Malagasy",
516
+ "englishName": "Malagasy"
517
+ },
518
+ "mk": {
519
+ "nativeName": "Македонски",
520
+ "englishName": "Macedonian"
521
+ },
522
+ "mk-MK": {
523
+ "nativeName": "Македонски (Македонски)",
524
+ "englishName": "Macedonian (Macedonian)"
525
+ },
526
+ "ml": {
527
+ "nativeName": "മലയാളം",
528
+ "englishName": "Malayalam"
529
+ },
530
+ "ml-IN": {
531
+ "nativeName": "മലയാളം",
532
+ "englishName": "Malayalam"
533
+ },
534
+ "mn-MN": {
535
+ "nativeName": "Монгол",
536
+ "englishName": "Mongolian"
537
+ },
538
+ "mr": {
539
+ "nativeName": "मराठी",
540
+ "englishName": "Marathi"
541
+ },
542
+ "mr-IN": {
543
+ "nativeName": "मराठी",
544
+ "englishName": "Marathi"
545
+ },
546
+ "ms": {
547
+ "nativeName": "Bahasa Melayu",
548
+ "englishName": "Malay"
549
+ },
550
+ "ms-MY": {
551
+ "nativeName": "Bahasa Melayu",
552
+ "englishName": "Malay"
553
+ },
554
+ "mt": {
555
+ "nativeName": "Malti",
556
+ "englishName": "Maltese"
557
+ },
558
+ "mt-MT": {
559
+ "nativeName": "Malti",
560
+ "englishName": "Maltese"
561
+ },
562
+ "my": {
563
+ "nativeName": "ဗမာစကာ",
564
+ "englishName": "Burmese"
565
+ },
566
+ "no": {
567
+ "nativeName": "Norsk",
568
+ "englishName": "Norwegian"
569
+ },
570
+ "nb": {
571
+ "nativeName": "Norsk (bokmål)",
572
+ "englishName": "Norwegian (bokmal)"
573
+ },
574
+ "nb-NO": {
575
+ "nativeName": "Norsk (bokmål)",
576
+ "englishName": "Norwegian (bokmal)"
577
+ },
578
+ "ne": {
579
+ "nativeName": "नेपाली",
580
+ "englishName": "Nepali"
581
+ },
582
+ "ne-NP": {
583
+ "nativeName": "नेपाली",
584
+ "englishName": "Nepali"
585
+ },
586
+ "nl": {
587
+ "nativeName": "Nederlands",
588
+ "englishName": "Dutch"
589
+ },
590
+ "nl-BE": {
591
+ "nativeName": "Nederlands (België)",
592
+ "englishName": "Dutch (Belgium)"
593
+ },
594
+ "nl-NL": {
595
+ "nativeName": "Nederlands (Nederland)",
596
+ "englishName": "Dutch (Netherlands)"
597
+ },
598
+ "nn-NO": {
599
+ "nativeName": "Norsk (nynorsk)",
600
+ "englishName": "Norwegian (nynorsk)"
601
+ },
602
+ "oc": {
603
+ "nativeName": "Occitan",
604
+ "englishName": "Occitan"
605
+ },
606
+ "or-IN": {
607
+ "nativeName": "ଓଡ଼ିଆ",
608
+ "englishName": "Oriya"
609
+ },
610
+ "pa": {
611
+ "nativeName": "ਪੰਜਾਬੀ",
612
+ "englishName": "Punjabi"
613
+ },
614
+ "pa-IN": {
615
+ "nativeName": "ਪੰਜਾਬੀ (ਭਾਰਤ ਨੂੰ)",
616
+ "englishName": "Punjabi (India)"
617
+ },
618
+ "pl": {
619
+ "nativeName": "Polski",
620
+ "englishName": "Polish"
621
+ },
622
+ "pl-PL": {
623
+ "nativeName": "Polski",
624
+ "englishName": "Polish"
625
+ },
626
+ "ps-AF": {
627
+ "nativeName": "پښتو",
628
+ "englishName": "Pashto"
629
+ },
630
+ "pt": {
631
+ "nativeName": "Português",
632
+ "englishName": "Portuguese"
633
+ },
634
+ "pt-BR": {
635
+ "nativeName": "Português (Brasil)",
636
+ "englishName": "Portuguese (Brazil)"
637
+ },
638
+ "pt-PT": {
639
+ "nativeName": "Português (Portugal)",
640
+ "englishName": "Portuguese (Portugal)"
641
+ },
642
+ "qu-PE": {
643
+ "nativeName": "Qhichwa",
644
+ "englishName": "Quechua"
645
+ },
646
+ "rm-CH": {
647
+ "nativeName": "Rumantsch",
648
+ "englishName": "Romansh"
649
+ },
650
+ "ro": {
651
+ "nativeName": "Română",
652
+ "englishName": "Romanian"
653
+ },
654
+ "ro-RO": {
655
+ "nativeName": "Română",
656
+ "englishName": "Romanian"
657
+ },
658
+ "ru": {
659
+ "nativeName": "Русский",
660
+ "englishName": "Russian"
661
+ },
662
+ "ru-RU": {
663
+ "nativeName": "Русский",
664
+ "englishName": "Russian"
665
+ },
666
+ "sa-IN": {
667
+ "nativeName": "संस्कृतम्",
668
+ "englishName": "Sanskrit"
669
+ },
670
+ "se-NO": {
671
+ "nativeName": "Davvisámegiella",
672
+ "englishName": "Northern Sámi"
673
+ },
674
+ "si-LK": {
675
+ "nativeName": "පළාත",
676
+ "englishName": "Sinhala (Sri Lanka)"
677
+ },
678
+ "sk": {
679
+ "nativeName": "Slovenčina",
680
+ "englishName": "Slovak"
681
+ },
682
+ "sk-SK": {
683
+ "nativeName": "Slovenčina (Slovakia)",
684
+ "englishName": "Slovak (Slovakia)"
685
+ },
686
+ "sl": {
687
+ "nativeName": "Slovenščina",
688
+ "englishName": "Slovenian"
689
+ },
690
+ "sl-SI": {
691
+ "nativeName": "Slovenščina",
692
+ "englishName": "Slovenian"
693
+ },
694
+ "so-SO": {
695
+ "nativeName": "Soomaaliga",
696
+ "englishName": "Somali"
697
+ },
698
+ "sq": {
699
+ "nativeName": "Shqip",
700
+ "englishName": "Albanian"
701
+ },
702
+ "sq-AL": {
703
+ "nativeName": "Shqip",
704
+ "englishName": "Albanian"
705
+ },
706
+ "sr": {
707
+ "nativeName": "Српски",
708
+ "englishName": "Serbian"
709
+ },
710
+ "sr-RS": {
711
+ "nativeName": "Српски (Serbia)",
712
+ "englishName": "Serbian (Serbia)"
713
+ },
714
+ "su": {
715
+ "nativeName": "Basa Sunda",
716
+ "englishName": "Sundanese"
717
+ },
718
+ "sv": {
719
+ "nativeName": "Svenska",
720
+ "englishName": "Swedish"
721
+ },
722
+ "sv-SE": {
723
+ "nativeName": "Svenska",
724
+ "englishName": "Swedish"
725
+ },
726
+ "sw": {
727
+ "nativeName": "Kiswahili",
728
+ "englishName": "Swahili"
729
+ },
730
+ "sw-KE": {
731
+ "nativeName": "Kiswahili",
732
+ "englishName": "Swahili (Kenya)"
733
+ },
734
+ "ta": {
735
+ "nativeName": "தமிழ்",
736
+ "englishName": "Tamil"
737
+ },
738
+ "ta-IN": {
739
+ "nativeName": "தமிழ்",
740
+ "englishName": "Tamil"
741
+ },
742
+ "te": {
743
+ "nativeName": "తెలుగు",
744
+ "englishName": "Telugu"
745
+ },
746
+ "te-IN": {
747
+ "nativeName": "తెలుగు",
748
+ "englishName": "Telugu"
749
+ },
750
+ "tg": {
751
+ "nativeName": "забо́ни тоҷикӣ́",
752
+ "englishName": "Tajik"
753
+ },
754
+ "tg-TJ": {
755
+ "nativeName": "тоҷикӣ",
756
+ "englishName": "Tajik"
757
+ },
758
+ "th": {
759
+ "nativeName": "ภาษาไทย",
760
+ "englishName": "Thai"
761
+ },
762
+ "th-TH": {
763
+ "nativeName": "ภาษาไทย (ประเทศไทย)",
764
+ "englishName": "Thai (Thailand)"
765
+ },
766
+ "tl": {
767
+ "nativeName": "Filipino",
768
+ "englishName": "Filipino"
769
+ },
770
+ "tl-PH": {
771
+ "nativeName": "Filipino",
772
+ "englishName": "Filipino"
773
+ },
774
+ "tlh": {
775
+ "nativeName": "tlhIngan-Hol",
776
+ "englishName": "Klingon"
777
+ },
778
+ "tr": {
779
+ "nativeName": "Türkçe",
780
+ "englishName": "Turkish"
781
+ },
782
+ "tr-TR": {
783
+ "nativeName": "Türkçe",
784
+ "englishName": "Turkish"
785
+ },
786
+ "tt-RU": {
787
+ "nativeName": "татарча",
788
+ "englishName": "Tatar"
789
+ },
790
+ "uk": {
791
+ "nativeName": "Українська",
792
+ "englishName": "Ukrainian"
793
+ },
794
+ "uk-UA": {
795
+ "nativeName": "Українська",
796
+ "englishName": "Ukrainian"
797
+ },
798
+ "ur": {
799
+ "nativeName": "اردو",
800
+ "englishName": "Urdu"
801
+ },
802
+ "ur-PK": {
803
+ "nativeName": "اردو",
804
+ "englishName": "Urdu"
805
+ },
806
+ "uz": {
807
+ "nativeName": "O\"zbek",
808
+ "englishName": "Uzbek"
809
+ },
810
+ "uz-UZ": {
811
+ "nativeName": "O\"zbek",
812
+ "englishName": "Uzbek"
813
+ },
814
+ "vi": {
815
+ "nativeName": "Tiếng Việt",
816
+ "englishName": "Vietnamese"
817
+ },
818
+ "vi-VN": {
819
+ "nativeName": "Tiếng Việt",
820
+ "englishName": "Vietnamese"
821
+ },
822
+ "xh-ZA": {
823
+ "nativeName": "isiXhosa",
824
+ "englishName": "Xhosa"
825
+ },
826
+ "yi": {
827
+ "nativeName": "ייִדיש",
828
+ "englishName": "Yiddish"
829
+ },
830
+ "yi-DE": {
831
+ "nativeName": "ייִדיש (German)",
832
+ "englishName": "Yiddish (German)"
833
+ },
834
+ "zh": {
835
+ "nativeName": "中文",
836
+ "englishName": "Chinese"
837
+ },
838
+ "zh-Hans": {
839
+ "nativeName": "中文简体",
840
+ "englishName": "Chinese Simplified"
841
+ },
842
+ "zh-Hant": {
843
+ "nativeName": "中文繁體",
844
+ "englishName": "Chinese Traditional"
845
+ },
846
+ "zh-CN": {
847
+ "nativeName": "中文(中国)",
848
+ "englishName": "Chinese Simplified (China)"
849
+ },
850
+ "zh-HK": {
851
+ "nativeName": "中文(香港)",
852
+ "englishName": "Chinese Traditional (Hong Kong)"
853
+ },
854
+ "zh-SG": {
855
+ "nativeName": "中文(新加坡)",
856
+ "englishName": "Chinese Simplified (Singapore)"
857
+ },
858
+ "zh-TW": {
859
+ "nativeName": "中文(台灣)",
860
+ "englishName": "Chinese Traditional (Taiwan)"
861
+ },
862
+ "zu-ZA": {
863
+ "nativeName": "isiZulu",
864
+ "englishName": "Zulu"
865
+ }
866
+ }'
867
+ end
868
+ end
869
+ end
870
+ end
File without changes
metadata ADDED
@@ -0,0 +1,86 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: i18n-language-mapping
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - jfederico
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2019-07-09 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.16'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.16'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ description: List of all the known languages in their English and Native name with
42
+ locales.
43
+ email:
44
+ - jesus@123it.ca
45
+ executables: []
46
+ extensions: []
47
+ extra_rdoc_files: []
48
+ files:
49
+ - ".gitignore"
50
+ - CODE_OF_CONDUCT.md
51
+ - Gemfile
52
+ - LICENSE
53
+ - LICENSE.txt
54
+ - README.md
55
+ - Rakefile
56
+ - bin/console
57
+ - bin/setup
58
+ - i18n-language-mapping.gemspec
59
+ - lib/i18n/language/mapping.rb
60
+ - lib/i18n/language/mapping/version.rb
61
+ - vendor/assets/javascript/.keep
62
+ homepage: https://github.com/blindsidenetworks/i18n-language-mapping
63
+ licenses:
64
+ - MIT
65
+ metadata: {}
66
+ post_install_message:
67
+ rdoc_options: []
68
+ require_paths:
69
+ - lib
70
+ required_ruby_version: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
75
+ required_rubygems_version: !ruby/object:Gem::Requirement
76
+ requirements:
77
+ - - ">="
78
+ - !ruby/object:Gem::Version
79
+ version: '0'
80
+ requirements: []
81
+ rubyforge_project:
82
+ rubygems_version: 2.7.6
83
+ signing_key:
84
+ specification_version: 4
85
+ summary: List of all the known languages in their English and Native name with locales.
86
+ test_files: []