Commit a4f82698 by Braden MacDonald

Extracted strings for potential future translation

parent c4d63fd9
......@@ -288,6 +288,23 @@ If you want to run only the integration or the unit tests, append the directory
$ ./run_tests.py mentoring/tests/unit
```
Extracting Translatable Strings
-------------------------------
To extract/update strings for translation, you will need i18n_tools:
```bash
pip install git+https://github.com/edx/i18n-tools.git#egg=i18n_tools
```
To extract strings, use `i18n_tool extract`. To build a dummy translation for
testing, use:
```bash
i18n_tool dummy && i18n_tool generate
```
Adding custom scenarios to the workbench
----------------------------------------
......
# Configuration for i18n workflow.
locales:
- en # English - Source Language
# Add languages here as needed
# The locales used for fake-accented English, for testing.
dummy_locales:
- eo
# Directories we don't search for strings.
ignore_dirs:
- mentoring/v1
- mentoring/tests
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-03-19 22:15-0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: mentoring/public/js/mentoring_standard_view.js:28
msgid "Feedback"
msgstr ""
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-03-19 22:15-0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: mentoring/public/js/mentoring_standard_view.js
msgid "Feedback"
msgstr "Féédßäçk #"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment