Part of edX code.
An independent comment system which supports voting and nested comments. It also supports features including instructor endorsement for education-aimed discussion platforms.
To run the comments service in a language other than English, set the
SERVICE_LANGUAGE environment variable to the language code for the
desired language. Its default value is en-US.
Setting the language has no effect on user content stored by the service.
However, there are a few data validation messages that may be seen by end
users via the frontend in edx-platform. These will be
translated to SERVICE_LANGUAGE assuming a suitable translation file is
found in the locale/ directory.
edX uses Transifex to host translations. To use the Transifex client, be sure
it is installed (pip install -r requirements.txt will do this for you), and
follow the instructions here to set up your .transifexrc file.
To upload translations: tx push -s
To download translations: tx pull -l <locale>, where <language>
indicates the desired language for the transifex resource(s).
The code in this repository is licensed under version 3 of the AGPL unless otherwise noted.
Please see LICENSE.txt for details.
Contributions are very welcome. The easiest way is to fork this repo, and then make a pull request from your fork. The first time you make a pull request, you may be asked to sign a Contributor Agreement.
Please do not report security issues in public. Please email [email protected]
You can discuss this code on the edx-code Google Group or in the
edx-code IRC channel on Freenode.