Internationalization: Difference between revisions
(→Design) |
No edit summary |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:Going Global]] | |||
== | == Get Open Food Facts to work well in your country == | ||
* Find your country (or create it) in [[Country Support]] | |||
== Translation work == | |||
* https://translate.openfoodfacts.org see also [[Translate]] | |||
== Links == | |||
[[fr:Projet:Internationalisation]] | |||
== Old design considerations == | |||
=== Sub-sites for countries === | |||
==== Old design (before January 10th 2014) ==== | |||
One sub-domain per language. | |||
e.g. | |||
* fr.openfoodfacts.org -> products with French as main language | |||
* en.openfoodfacts.org -> products with English as main language | |||
==== Current design (after January 10th 2014) ==== | |||
One sub-domain per country + one "world" sub-domain. | |||
e.g. | |||
* fr.openfoodfacts.org -> products distributed in France | |||
* us.openfoodfacts.org -> products distributed in the United States | |||
* world.openfoodfacts.org -> all products | |||
==== Transition from languages sub-domains to countries sub-domaines ==== | |||
===== Assigning countries to products - done Jan 10th 2014 ===== | |||
* a new field was added for countries in November 2013 | |||
** auto-populated using the ip address of the creator of products | |||
* for all existing products without a country, added one country - Jan 10th 2014 | |||
** using the place of purchase field if specified and recognized (countries + some popular cities) | |||
** using the ip address of the creator of the product | |||
===== world + country sub-domains - in progress since Jan 10th 2014 ===== | |||
* sub-domains map to countries instead of languages - done Jan 10th 2014 | |||
* redirect en.openfoodfacts.org to world.openfoodfacts.org | |||
* fix links pointing to [language].openfoodfacts.org instead of [country].openfoodfacts.org | |||
* generate list of countries with number of products to put on first page of openfoodfacts.org | |||
===== lists of tags (e.g. brands, categories, labels etc.) per country ===== | |||
* compute lists | |||
* display lists | |||
===== nutrition facts stats per category and per domain ===== | |||
* compute data | |||
* display data | |||
===== number of products per-country for each tag ===== | |||
e.g. for a given category or brand, list the number of products per country | |||
* compute data | |||
* display data in a list | |||
* display data on a map | |||
** e.g. using GeoJSON + Leaflet | |||
*** https://p2pu.org/en/groups/online-maps-with-leaflet/content/geojson-in-leafletjs/ | |||
=== Taxonomies === | === Taxonomies === | ||
Line 13: | Line 80: | ||
[[Global taxonomies]] | [[Global taxonomies]] | ||
Latest revision as of 10:12, 22 August 2024
Get Open Food Facts to work well in your country
- Find your country (or create it) in Country Support
Translation work
Links
fr:Projet:Internationalisation
Old design considerations
Sub-sites for countries
Old design (before January 10th 2014)
One sub-domain per language.
e.g.
- fr.openfoodfacts.org -> products with French as main language
- en.openfoodfacts.org -> products with English as main language
Current design (after January 10th 2014)
One sub-domain per country + one "world" sub-domain.
e.g.
- fr.openfoodfacts.org -> products distributed in France
- us.openfoodfacts.org -> products distributed in the United States
- world.openfoodfacts.org -> all products
Transition from languages sub-domains to countries sub-domaines
Assigning countries to products - done Jan 10th 2014
- a new field was added for countries in November 2013
- auto-populated using the ip address of the creator of products
- for all existing products without a country, added one country - Jan 10th 2014
- using the place of purchase field if specified and recognized (countries + some popular cities)
- using the ip address of the creator of the product
world + country sub-domains - in progress since Jan 10th 2014
- sub-domains map to countries instead of languages - done Jan 10th 2014
- redirect en.openfoodfacts.org to world.openfoodfacts.org
- fix links pointing to [language].openfoodfacts.org instead of [country].openfoodfacts.org
- generate list of countries with number of products to put on first page of openfoodfacts.org
lists of tags (e.g. brands, categories, labels etc.) per country
- compute lists
- display lists
nutrition facts stats per category and per domain
- compute data
- display data
number of products per-country for each tag
e.g. for a given category or brand, list the number of products per country
- compute data
- display data in a list
- display data on a map
- e.g. using GeoJSON + Leaflet
Taxonomies
Features
- A global hierarchy / taxonomy for each type of data field (categories, brands, labels, countries etc.)
- Translations for every language of each field value
- Multiple synonyms for each field value in each language