mirror of
https://github.com/lingble/chatwoot.git
synced 2025-10-29 10:12:34 +00:00
chore: Add bulgarian (bg) language (#12189)
Add bg to supported langauges
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import ar from './locale/ar';
|
||||
import bg from './locale/bg';
|
||||
import ca from './locale/ca';
|
||||
import cs from './locale/cs';
|
||||
import da from './locale/da';
|
||||
@@ -40,6 +41,7 @@ import lt from './locale/lt';
|
||||
|
||||
export default {
|
||||
ar,
|
||||
bg,
|
||||
ca,
|
||||
cs,
|
||||
da,
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import ar from './locale/ar.json';
|
||||
import bg from './locale/bg.json';
|
||||
import ca from './locale/ca.json';
|
||||
import cs from './locale/cs.json';
|
||||
import da from './locale/da.json';
|
||||
@@ -40,6 +41,7 @@ import zh_TW from './locale/zh_TW.json';
|
||||
|
||||
export default {
|
||||
ar,
|
||||
bg,
|
||||
ca,
|
||||
cs,
|
||||
da,
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import ar from './locale/ar.json';
|
||||
import bg from './locale/bg.json';
|
||||
import ca from './locale/ca.json';
|
||||
import cs from './locale/cs.json';
|
||||
import da from './locale/da.json';
|
||||
@@ -40,6 +41,7 @@ import zh_TW from './locale/zh_TW.json';
|
||||
|
||||
export default {
|
||||
ar,
|
||||
bg,
|
||||
ca,
|
||||
cs,
|
||||
da,
|
||||
|
||||
@@ -41,7 +41,8 @@ LANGUAGES_CONFIG = {
|
||||
36 => { name: 'íslenska (is)', iso_639_3_code: 'isl', iso_639_1_code: 'is', enabled: true },
|
||||
37 => { name: 'עִברִית (he)', iso_639_3_code: 'heb', iso_639_1_code: 'he', enabled: true },
|
||||
38 => { name: 'lietuvių (lt)', iso_639_3_code: 'lit', iso_639_1_code: 'lt', enabled: true },
|
||||
39 => { name: 'Српски (sr)', iso_639_3_code: 'srp', iso_639_1_code: 'sr', enabled: true }
|
||||
39 => { name: 'Српски (sr)', iso_639_3_code: 'srp', iso_639_1_code: 'sr', enabled: true },
|
||||
40 => { name: 'български (bg)', iso_639_3_code: 'bul', iso_639_1_code: 'bg', enabled: true }
|
||||
}.filter { |_key, val| val[:enabled] }.freeze
|
||||
|
||||
Rails.configuration.i18n.available_locales = LANGUAGES_CONFIG.map { |_index, lang| lang[:iso_639_1_code].to_sym }
|
||||
|
||||
Reference in New Issue
Block a user