Lists of Countries and Regions: Difference between revisions

Jump to navigation Jump to search
m
add json of regions list
(update regionNames.properties to regionNames.ftl)
m (add json of regions list)
Line 9: Line 9:


There are JSON versions of the list, in a large number of languages, on the [https://product-details.mozilla.org/1.0/regions/ product-details website].
There are JSON versions of the list, in a large number of languages, on the [https://product-details.mozilla.org/1.0/regions/ product-details website].
The in-product version is [https://searchfox.org/mozilla-central/source/toolkit/locales/en-US/toolkit/intl/regionNames.ftl regionNames.ftl]. Where possible, you should use one of those copies rather than rolling your own, as they will be kept current.
The in-product version is [https://searchfox.org/mozilla-central/source/toolkit/locales/en-US/toolkit/intl/regionNames.ftl regionNames.ftl] and [https://product-details.mozilla.org/1.0/regions/en-US.json en-US.json]. Where possible, you should use one of those copies rather than rolling your own, as they will be kept current.


If your product or website needs to display maps with country/region boundaries marked on, or translate the position of a dropped pin into an address which includes a country or region name, or in any other way make a determination about which bit of land belongs to which country or region, please consult Legal before deployment.
If your product or website needs to display maps with country/region boundaries marked on, or translate the position of a dropped pin into an address which includes a country or region name, or in any other way make a determination about which bit of land belongs to which country or region, please consult Legal before deployment.
Confirmed users
376

edits

Navigation menu