国のユーザーを検出するためにジオコーダーを使用しています。
私のアプリでは、国のユーザーを検出する必要があります。私は次のようなものを作ります:
c = request.location.country_code
case c
when 'US'
I18n.locale = :en
when 'ES'
I18n.locale = :es
else
locale ||= I18n.default_locale
end
country_code
私の質問は、他の言語のリストはどこにありますか?