Chore: Add translated languages to account settings (#826)

* Add available languages in account settings

Co-authored-by: Sojan <sojan@pepalo.com>
This commit is contained in:
Pranav Raj S
2020-05-06 13:38:36 +05:30
committed by GitHub
parent d6d15c8c3c
commit c7120e9637
37 changed files with 473 additions and 250 deletions

View File

@@ -1,2 +1,5 @@
module ApplicationHelper
def available_locales_with_name
LANGUAGES_CONFIG.map { |_key, val| val.slice(:name, :iso_639_1_code) }
end
end