From d8c58f10f159d390f80bb7b3bb70a91c96ed4bc8 Mon Sep 17 00:00:00 2001 From: Benedikt Breinbauer Date: Fri, 21 Aug 2015 16:05:44 +0100 Subject: [PATCH] Fix some typos in i18n docs --- docs/advanced_topics/i18n/index.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/advanced_topics/i18n/index.rst b/docs/advanced_topics/i18n/index.rst index b03e8580ae..a976169d89 100644 --- a/docs/advanced_topics/i18n/index.rst +++ b/docs/advanced_topics/i18n/index.rst @@ -13,7 +13,7 @@ Wagtail uses Django's `Internationalisation framework `_. (Note: if you're using an old version of Wagtail, this page may not accurately reflect what languages you have available). +The Wagtail admin backend has been translated into many different languages. You can find a list of currently available translations on Wagtail's `Transifex page `_. (Note: if you're using an old version of Wagtail, this page may not accurately reflect what languages you have available). If your language isn't listed on that page, you can easily contribute new languages or correct mistakes. Sign up and submit changes to `Transifex `_. Translation updates are typically merged into an official release within one month of being submitted. @@ -52,7 +52,7 @@ To enable multi-language support, add ``django.middleware.locale.LocaleMiddlewar 'django.middleware.locale.LocaleMiddleware', ) -This middleware class looks at the users browser language and sets the `language of the site accordingly `_. +This middleware class looks at the user's browser language and sets the `language of the site accordingly `_. Serving different languages from different URLs @@ -103,9 +103,9 @@ You can implement switching between languages by changing the part at the beginn Translating templates --------------------- -Static text in templates needs to be marked up in a way that allows Djangos ``makemessages`` command to find and export the strings for translators and also allow them to switch to translated versions on the when the template is being served. +Static text in templates needs to be marked up in a way that allows Django's ``makemessages`` command to find and export the strings for translators and also allow them to switch to translated versions on the when the template is being served. -As Wagtail uses Djangos templates, inserting this markup and the workflow for exporting and translating the strings is the same as any other Django project. +As Wagtail uses Django's templates, inserting this markup and the workflow for exporting and translating the strings is the same as any other Django project. See: https://docs.djangoproject.com/en/1.8/topics/i18n/translation/#internationalization-in-template-code @@ -113,9 +113,9 @@ See: https://docs.djangoproject.com/en/1.8/topics/i18n/translation/#internationa Translating content ------------------- -The most common approach for translating content in Wagtail to duplicate each translatable text field, providing a seprate field for each language. +The most common approach for translating content in Wagtail is to duplicate each translatable text field, providing a separate field for each language. -This section will descibe how to implement this method manually but there is a third party module you can use, `wagtail modeltranslation `_, which may be quicker if it meets your needs. +This section will describe how to implement this method manually but there is a third party module you can use, `wagtail modeltranslation `_, which may be quicker if it meets your needs. **Duplicating the fields in your model**