Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Add i18n docs
Patryk Zawadzkid9135d2e7d43
diff --git a/docs/index.rst b/docs/index.rstindex 3663c63f21..b3d84f59a7 100644--- a/docs/index.rst+++ b/docs/index.rst@@ -13,6 +13,7 @@ Contents:productsstocksettings+ localizationseopaymentsintegrationsdiff --git a/docs/integrations.rst b/docs/integrations.rstindex 00410b4074..ee57f9986e 100644--- a/docs/integrations.rst+++ b/docs/integrations.rst@@ -27,6 +27,8 @@ If you intend to use S3 for your static files as well, set an additional environThe S3 bucket name to use for static files.+.. _openexchangerates:+Converting prices to local currencies using Open Exchange Rates---------------------------------------------------------------diff --git a/docs/localization.rst b/docs/localization.rstnew file mode 100644index 0000000000..a28397fa2b--- /dev/null+++ b/docs/localization.rst@@ -0,0 +1,37 @@+Internationalization+====================++By default language and locale are determined based on the list of preferences supplied by a web browser. GeoIP is used to determine the visitor's country and their local currency.++.. note::++ Saleor uses Transifex to coordinate translations. If you wish to help please head to the `translation dashboard <https://www.transifex.com/mirumee/saleor-1/>`_.++ All translations are handled by the community. All translation teams are open and everyone is welcome to request a new language.++Translation+-----------++Saleor uses ``gettext`` for translation. This is an industry standard for translating software and is the most common way to translate Django applications.++Saleor's storefront and dashboard are both prepared for translation. They use separate translation domains and can be translated separately. All translations provide accurate context descriptions to make translation an easier task.++It is not currently possible to translate database content (like product descriptions) but it's planned for a future release.++Localization+------------++Data formats+************++Saleor uses `Babel <http://babel.pocoo.org/en/latest/>`_ as the interface to Unicode's CLDR library to provide accurate number and date formatting as well as proper currency designation.++Address forms+*************++`Google's address format database <https://github.com/mirumee/google-i18n-address>`_ is used to provide locale-specific address formats and forms. It also takes care of address validation so you don't have to know how to address a package to China or whether United Arab Emirates use postal codes (they don't).++Currency conversion+*******************++Saleor can use currency exchange rate data to show price estimations in the visitor's local currency. Please consult :ref:`openexchangerates` for how to set this up for `Open Exchange Rates <https://openexchangerates.org/>`_.