Commit graph

38 commits

Author SHA1 Message Date
Marco Bonetti
020903d4cc proxy deeply through the backend. Fixes #271 2023-01-01 14:17:08 +01:00
Halit Celik
0b9dfbce98 cleanup 2021-06-03 15:31:57 +02:00
Martin Svoboda
53c730df41 Added support for Google Translation API 2019-05-31 17:17:01 +02:00
serhat
785eb30f35 Option to hide file name & path - feature request #77 2019-04-23 20:35:19 +05:30
Marco Bonetti
664b37e904 New ROSETTA_LANGUAGES setting allows for translating languages which are not yet in LANGUAGES 2019-04-07 12:50:18 +02:00
David Jean Louis
0db5ccb406 Rosetta settings are now "test friendly"
* Added a RosettaSettings class that keep rosetta settings
* Settings are reloaded via the ``setting_changed`` django signal is sent
* this should be completely backwards compatible, unless for hacks like reading the settings file from disk (nobody does this right ?)
2018-11-14 18:17:56 +01:00
David Jean Louis
4c17dd805f Allow overriding rosetta login url.
* Added a settings variable ``ROSETTA_LOGIN_URL`` that allows to
  override the login URL for rosetta.
* No test is included because it is not possible to override this
  particular setting variable due to how tests are organized (top level
  import of rosetta_settings).
2018-11-14 12:45:56 +01:00
Marco Bonetti
e3dd1f9b91 Replace the (no longer working) Microsoft translation API with the new Azure Translator API (Fixes #200 and #201, thank you @svdvonde) 2018-08-07 08:05:03 +02:00
Marco Bonetti
a43d369387 Check PEP8 while running tests
Use polib >= 1.1.0
Rosetta version bump and changelog
2018-01-10 12:44:24 +01:00
Slava Kyrachevsky
84acecc54d rename settings variable 2016-12-13 10:54:54 +02:00
Slava Kyrachevsky
69a305927e Rosetta at admin panel 2016-12-13 10:48:14 +02:00
Marco Bonetti
ba44f3bf6b Test against Django 1.10b1 and dropped support for goslate and the Google translate API 2016-06-24 12:24:29 +02:00
dnaranjo89
d28879d346 Clean ROSETTA_CACHE_NAME initialization
Just for readability
2016-05-19 12:38:51 +02:00
Marco Bonetti
d1cb2455c4 Merge branch 'develop' into pr/60 2016-03-22 09:09:55 +01:00
Neal Todd
1e3c832eec Make MO file compilation optional, issue #155 2016-03-21 23:16:52 +00:00
Marco Bonetti
9402b5b62d 0.7.9 release 2016-03-08 10:14:15 +01:00
Marco Bonetti
67f5803687 removed quite a few warnings on Django 1.8 2015-02-26 14:12:57 +01:00
Marco Bonetti
6b59b42ba1 Added support for the Free Google Translate API (PR #117, thanks @cuchac) 2015-02-18 13:32:03 +01:00
cuchac
9cb28dddc8 Add support for Google translate 2014-12-10 01:07:56 +01:00
Marco Bonetti
46634bbe10 wip 2014-09-17 10:22:17 +02:00
Virgil Dupras
90432b0eeb Merge remote-tracking branch 'mbi/develop' into reflang
Conflicts:
	rosetta/conf/settings.py
	rosetta/tests/__init__.py
	rosetta/urls.py
	rosetta/views.py
2014-08-07 11:01:34 -04:00
Marco Bonetti
e963ca69f1 Added docs, tests and fine tuned ROSETTA_LANGUAGE_GROUPS setting 2014-05-02 12:04:41 +02:00
elpaso
729286033d Added ROSETTA_EXCLUDED_PATHS 2014-04-29 15:33:22 +02:00
Marco Bonetti
043ace4ebb Merge branch 'develop' into pr/44
Conflicts:
	README.rst
	rosetta/conf/settings.py
	rosetta/poutil.py
2014-01-15 17:07:38 +01:00
Marco Bonetti
46c6ff05a3 included the Microsoft translator API client 2013-12-26 14:34:04 +01:00
Marco Bonetti
a5ea8cc35e Small refactoring of tests 2013-09-18 14:38:48 +02:00
BlackWizard
f799e0ba4c Yandex Translate API support 2013-09-03 17:19:21 +04:00
Maikel Wever
9c2a791c82 Merge bing to azure fix with current rosetta 2013-07-18 16:44:47 +02:00
Olivier Cortès
eed2987659 Implement ROSETTA_CACHE_NAME, which defaults to 'rosetta' with a fallback to 'default' if unset. 2013-05-06 11:31:07 +02:00
Virgil Dupras
1ff1e04460 Merge remote-tracking branch 'mbi/develop' into reflang
Conflicts:
	README.rst
	rosetta/views.py
2013-04-19 09:09:21 -04:00
David Winterbottom
718f9430ad Allow access control function to be replaced
The current access control function `can_translate` is not always
sufficient.  For instance, some projects require access to translation
to be controlled using a permission rather than using groups.

This change introduces a new setting `ROSETTA_ACCESS_CONTROL_FUNCTION`
that allows an alternative predicate to be specified.  The default is to
use the current function so this change is backwards compatible.
2013-04-16 11:42:44 +01:00
Virgil Dupras
f00009686f Added the ROSETTA_ENABLE_REFLANG flag.
This way, it's possible to disable the feature. Also, added a description of
the feature in the README.
2013-01-30 14:18:34 -05:00
David Kuchar
8785c39483 updated Azure Translator support 2012-08-29 12:46:09 -07:00
Will Boyce
9f87f67338 added ROSETTA_POFILENAMES setting 2012-07-31 09:34:10 +01:00
Marco Bonetti
4146da3287 rosetta 0.6.8 with pluggable storage classes, fixes Issue 38 2012-06-07 13:46:16 +02:00
Marco Bonetti
32f7a1f0a1 Fix for issue #24. Support for --nowrap in the edited Po file 2012-01-28 08:58:41 +01:00
Marco Bonetti
4e6e19093d 0.6.3: use the Bing translation service instead of Google's 2012-01-05 15:38:46 +01:00
Marco Bonetti
c38757f9dc initial commit 2011-06-16 11:25:15 +02:00