Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
8a3fb733
Commit
8a3fb733
authored
Apr 09, 2013
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document machine service configuration
parent
ee8570c8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
2 deletions
+34
-2
docs/config.rst
docs/config.rst
+26
-0
weblate/settings_example.py
weblate/settings_example.py
+8
-2
No files found.
docs/config.rst
View file @
8a3fb733
...
...
@@ -153,6 +153,32 @@ Some of exceptions you might want to include:
r'/hooks/(.*)$', # Allowing public access to notification hooks
)
.. setting:: MACHINE_TRANSLATION_SERVICES
MACHINE_TRANSLATION_SERVICES
----------------------------
List of enabled machine translation services to use.
.. note::
Many of services need additional configuration like API keys, please check
their documentation for more details.
.. code-block:: python
MACHINE_TRANSLATION_SERVICES = (
'trans.machine.apertium.ApertiumTranslation',
'trans.machine.glosbe.GlosbeTranslation',
'trans.machine.google.GoogleTranslation',
'trans.machine.microsoft.MicrosoftTranslation',
'trans.machine.mymemory.MyMemoryTranslation',
'trans.machine.opentran.OpenTranTranslation',
'trans.machine.tmserver.TMServerTranslation',
)
.. seealso:: :ref:`machine-translation`
.. setting:: MT_APERTIUM_KEY
MT_APERTIUM_KEY
...
...
weblate/settings_example.py
View file @
8a3fb733
...
...
@@ -368,10 +368,16 @@ WHOOSH_INDEX = os.path.join(WEB_ROOT, 'whoosh-index')
#)
# List of machine translations
# MACHINE_TRANSLATION_SERVICES = (
#MACHINE_TRANSLATION_SERVICES = (
# 'trans.machine.apertium.ApertiumTranslation',
# 'trans.machine.glosbe.GlosbeTranslation',
# 'trans.machine.google.GoogleTranslation',
# 'trans.machine.microsoft.MicrosoftTranslation',
# 'trans.machine.mymemory.MyMemoryTranslation',
# 'trans.machine.opentran.OpenTranTranslation',
# 'trans.machine.tmserver.TMServerTranslation',
#)
# E-mail address that error messages come from.
SERVER_EMAIL
=
'noreply@weblate.org'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment