You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some countries have different cultural regions (Spain (Basc country, Catalonia), Belgium (fr, nl), Switzerland (it, fr, de as example).
Is there a way to add this specification to the gem?
I see that for Switzerland
@country_data_or_code[:translations]
has
{"ch-fr"=>nil,"ch-de"=>nil", "ch-it"=>nil}
Would be nice to have this as culture specification of the country.
For example:
I'll add a ticket to countries to add the locales, it makes sense to have this data.
I don't know where those locales you mention are coming from, because the proper identifiers should be fr-CH, de-CH and it-CH. The format is <language>-<countryCode>.
If you configure I18n.available_locales or directly for the countries gem (see here) and add :fr, :de, :it then the translation data for these languages will be loaded.
Some countries have different cultural regions (Spain (Basc country, Catalonia), Belgium (fr, nl), Switzerland (it, fr, de as example).
Is there a way to add this specification to the gem?
I see that for Switzerland
has
Would be nice to have this as culture specification of the country.
For example:
and have locales as a options of the values of the select options (dropdownlist).
The text was updated successfully, but these errors were encountered: