Neal Todd
e3689afa76
Use language code without country specification for Yandex destination lang
2016-01-28 14:00:08 +00:00
Marco Bonetti
20de6bf039
0.7.8 release: missing includes in MANIFEST.in
2015-12-03 10:13:53 +01:00
Marco Bonetti
1ceea0d17b
preparing for 0.7.7 release, and mock the google translate API call
2015-11-30 13:00:38 +01:00
Marco Bonetti
86cc5ecc7a
Merge branch 'develop' into django-1.9
2015-11-30 12:41:19 +01:00
Paul J. Dorn
28e27367ec
template markup fix: csrf moved to start of form
...
<input> should not be a child of <tr>, regardless if type="hidden" or not
2015-10-04 17:16:09 +02:00
Marco Bonetti
237c36f0d2
massive cleanup, only test against supported django versions
2015-09-24 11:20:09 +02:00
Marco Bonetti
c1b0c38968
WIP django 1.9, looks ok so far
2015-09-14 10:30:51 +02:00
Marco Bonetti
83b65717f2
Added support for composite locales
2015-09-14 10:19:45 +02:00
Adam J. Forster
155ed011a7
Update regular expressions to support PEP 3101
2015-08-13 11:37:23 +01:00
Marco Bonetti
9713471de1
updated django versions in toxfile, fixed a formatting issue
2015-08-10 09:00:59 +02:00
Marco Bonetti
85c2eca379
adds a test for Issue #135 and PR # 136
2015-08-04 16:12:00 +02:00
pgcd
8d7c529129
Output error messages to user
2015-07-16 16:35:46 +02:00
pgcd
62776d1256
Adds minimal feedback on error
2015-07-16 16:34:22 +02:00
Marco Bonetti
e117f1c135
Better handling for Custom User Models. Fixes Issue #131
2015-06-04 11:44:42 +02:00
Marco Bonetti
edfc1d40d3
adds a fuzzy toggle, fixes Issue #132
2015-06-04 11:04:20 +02:00
Marco Bonetti
cd7fa0795a
0.7.6 release
2015-04-02 10:13:57 +02:00
Marco Bonetti
67f5803687
removed quite a few warnings on Django 1.8
2015-02-26 14:12:57 +01:00
Marco Bonetti
6d474d74d4
Fix for issue 113 and issue 125. Discovery of catalogs in apps defined by their AppConfig
2015-02-25 15:43:52 +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
Marco Bonetti
5b881382c2
Merge branch 'develop' into pr/117
2015-02-18 13:08:47 +01:00
Marco Bonetti
81c94d7f95
0.7.5
2015-02-10 09:58:29 +01:00
Marco Bonetti
4bf0c04988
Merge remote-tracking branch 'origin/pr/118' into develop
2015-02-10 09:23:52 +01:00
Raymond Penners
ebf9e5452f
Typ-o (You are use the...)
2015-01-30 09:21:10 +01:00
Arrvi
2decd4de94
Updated polish translation
...
Completed translation and corrected some typos
2014-12-10 17:52:02 +01:00
cuchac
9cb28dddc8
Add support for Google translate
2014-12-10 01:07:56 +01:00
Marc Belmont
42c2492b85
Update rosetta.js
...
Yandex will convert < and > to html entities. Convert the entities back to normal characters.
2014-10-27 10:18:55 +01:00
Marco Bonetti
19a2e7ed5a
possible fix for issue #114 , dont assume that request.user has settable properties
2014-10-17 20:42:24 +02:00
Marco Bonetti
c988123af8
Use content_type instead of mimetype in HttpResponse. (Issue #115 , thanks @vesteinn)
2014-10-17 20:13:44 +02:00
vesteinn
6ea3198417
Update views.py
...
Mimetype changed to content_type in django 1.7, fix in rosett views.
2014-10-17 10:40:02 +02:00
Marco Bonetti
bd00ce90b4
initial fixes for testing against django 1.7 final, fixes some translations
2014-09-17 10:40:41 +02:00
Marco Bonetti
46634bbe10
wip
2014-09-17 10:22:17 +02:00
Marco Bonetti
142570ae75
Merge pull request #110 from benebun/patch-2
...
Use formal form of address consistently in German
2014-08-12 21:03:03 +02:00
Benedikt Breinbauer
8a0f7ced03
Use formal form of address consistently in German
2014-08-12 20:21:29 +02:00
Benedikt Breinbauer
34c42991fe
Capitalize German spelling of Sie consistently
2014-08-12 20:18:28 +02:00
Virgil Dupras
e4fd03f7d8
Re-introduced reflang test which was log in the previous merge
...
Also, fixed the reflang feature, because the tests didn't pass anymore.
references #60
2014-08-07 11:33:57 -04: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
artscoop
88136e21b3
Update poutil.py
2014-06-07 03:02:54 +02:00
artscoop
a08e017980
Initial Django 1.7 compatibility fix
...
When rosetta tries to load every INSTALLED_APP, it fetches app modules. However, in Django 1.7, importing some INSTALLED_APPS can fetch AppConfig instances instead of modules, and they have no `__file__` attribute. You then need to find the app module for the AppConfig instance.
This allows rosetta to properly seek locale folders.
2014-06-07 02:54:05 +02:00
Marco Bonetti
6c638bcc3f
Removed microsofttranslator as a shipped dependency, now that Python3 support has landed upstream
2014-06-02 09:32:29 +02:00
Marco Bonetti
e963ca69f1
Added docs, tests and fine tuned ROSETTA_LANGUAGE_GROUPS setting
2014-05-02 12:04:41 +02:00
Marco Bonetti
dc5a2462fd
Merge branch 'develop' into pr/103
2014-05-02 11:40:56 +02:00
Marco Bonetti
7b84c42016
Changelog, tests and docs for ROSETTA_EXCLUDE_PATHS
2014-05-02 11:37:39 +02:00
Morten Barklund
1efd2a8ba0
Added new config option to enable language-specific translator groups
2014-04-29 15:53:28 +02:00
elpaso
729286033d
Added ROSETTA_EXCLUDED_PATHS
2014-04-29 15:33:22 +02:00
Marco Bonetti
68e02a3094
version bump
2014-04-06 10:01:27 +02:00
Marco Bonetti
c1ebedd95a
fixes a microsofttranslator test that was too noisy
2014-04-06 09:33:40 +02:00
Marco Bonetti
2ad3f83e61
import the external js file with the correct URL scheme
2014-04-06 09:18:37 +02:00
tsouvarev
18ae20cbea
Update base.html
...
jsapi from 'http://www.google.com/jsapi ' is not working, but 'httpS://www.google.com/jsapi ' loading just fine
2014-04-01 11:14:08 -04:00
Marco Bonetti
84991fa7c8
rebuilt Czech translation
2014-03-01 15:09:18 +01:00
Joe
b2879d46e9
Update czech plural forms
2014-02-28 14:53:32 +01:00
Marco Bonetti
78a6b4d325
No longer ship Polib but rely on the cheese shop instead. Also fixes a behavior with plural forms that was addressed upstram in polib 1.0.4
2014-02-28 14:12:21 +01:00
Marco Bonetti
b8654ab7b1
fixes standard compliance of all shipped translation catalogs
2014-02-28 14:11:19 +01:00
cuchac
acbe54ae4a
Update czech translation
2014-02-28 10:57:48 +01:00
Marco Bonetti
78224d7f7c
Merged PR #44 , wrote a test
2014-01-15 17:22:38 +01: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
5125ebac7f
Merge branch 'develop' of https://github.com/tback/django-rosetta into tback-develop
...
Conflicts:
rosetta/__init__.py
2013-12-26 15:02:38 +01:00
Marco Bonetti
4d8afd8e5b
wip
2013-12-26 14:59:23 +01:00
Marco Bonetti
5304595cd7
include the translator tests
2013-12-26 14:46:07 +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
Alexey Subbotin
7afdffb34a
just single quotes
2013-09-18 13:37:16 +02:00
dotsbb
f3a38f5877
ORM Query refactoring access.py
...
One query instead of two queries to database.
2013-09-18 13:12:34 +02:00
Marco Bonetti
76e8387f8c
Removed support for the signed_cookies SESSION_ENGINE + SessionRosettaStorage in Django 1.6
2013-09-09 10:57:28 +02:00
Marco Bonetti
6e8c30b843
Yandex Translate API support
2013-09-05 15:04:19 +02:00
Marco Bonetti
0c5bd77122
Merge branch 'develop' into pr/89
2013-09-05 14:49:51 +02:00
Marco Bonetti
860e69a686
clear the django apps cache key prior to testing
2013-09-05 14:49:37 +02:00
BlackWizard
f799e0ba4c
Yandex Translate API support
2013-09-03 17:19:21 +04:00
Marco Bonetti
bf0b253dec
Fixes issue 87, missing context variable in catalog list
2013-08-07 13:23:17 +02:00
Maikel Wever
efe71a39d2
Minor cleanup
2013-07-18 17:11:42 +02:00
Maikel Wever
edd215e706
Remove utils file which does nothing
2013-07-18 17:08:45 +02:00
Maikel Wever
05c91d44ef
Fix error in merge
2013-07-18 16:48:54 +02:00
Maikel Wever
9c2a791c82
Merge bing to azure fix with current rosetta
2013-07-18 16:44:47 +02:00
Marco Bonetti
f891399d52
WIP tests against Django 1.6b1, some tests failing with Python3
2013-06-29 08:57:42 +02:00
Marco Bonetti
4ac54ff679
Fixes issue #81 - settings are poisoned during tests
2013-06-26 09:51:23 +02:00
btx
90cf37c912
Fixed reflang switching – keeping current reflang selected.
2013-06-18 15:15:32 +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
Marco Bonetti
44b3314fd4
Accept languages as 'fr_FR.utf8' in lang_sel url. Fixes Issue #71
2013-04-30 14:57:16 +02:00
Virgil Dupras
0aa1b1917f
Removed a comment that became obsolete with recent developments.
...
The local scope is no longer used to build the template context. It is now
explicitely built.
2013-04-19 09:17:54 -04:00
Virgil Dupras
2b2c5772c4
Added a testcase for the reflang feature.
2013-04-19 09:11:50 -04:00
Virgil Dupras
ba6aa9d37e
Fixed a crash when reflang wouldn't be enabled.
...
This crash was introduced by the merge with mbi/develop.
2013-04-19 09:11:21 -04: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
Mathieu Comandon
5ca9eb8234
Add test for pull request #71
2013-04-16 13:57:17 +02:00
Marco Bonetti
1d96772b04
Merge branch 'develop' of https://github.com/kanu/django-rosetta into pull-request-73
2013-04-16 13:17:44 +02: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
kanu
6e5e6ef28e
fixed lang_sel view picking the wrong file.
2013-04-12 12:36:57 +02:00
Mathieu Comandon
ffeefe014c
Accept languages as 'fr_FR.utf8' in lang_sel url
2013-04-03 14:47:09 +02:00
AmirAli Akbari
2195d59ba8
Added translation for Farsi (fa).
2013-04-01 19:05:38 +04:30
minime
c1700d7233
fixed mess with app_id between pages
2013-03-06 18:22:53 +04:00
Virgil Dupras
bb005cade8
Adjusted the reflang branch to latest commits in develop.
...
Since render_to_response() in the home() view no longer passes the local scope
as context, we have to explicitly set ENABLE_REFLANG in the template context.
2013-03-05 11:49:01 -05:00
Virgil Dupras
a4a7ddb589
Merge branch 'develop' into reflang
2013-03-05 08:48:50 -05:00
Marco Bonetti
f1a332bf90
Fixes issue #67 - settings imports unicode_literals from __future__
2013-03-04 18:24:36 +01:00
Marco Bonetti
0e1f21e88b
release 0.7.1 -- missing value in context
2013-03-01 11:33:07 +01:00
Marco Bonetti
f0ac2216d1
Django 1.3 requires Python2.4+, so we can now drop the old style decorator syntax
2013-02-28 13:52:28 +01:00
Marco Bonetti
b42f729b73
list apps by alphabetical order
2013-02-28 13:47:11 +01:00
Marco Bonetti
d9b0355825
coverage and removed nasty locals() calls
2013-02-28 13:36:31 +01:00
Marco Bonetti
6ac75be721
wip cleanup
2013-02-28 12:18:08 +01:00
Marco Bonetti
16d1a49515
all tests pass
2013-02-27 21:01:00 +01:00
Marco Bonetti
08569f23ce
wip python 3 support
2013-02-27 18:24:53 +01:00
Marco Bonetti
ba972b5b6a
Possible fix for issues #63 and #64
2013-02-21 16:46:16 +01:00
Till Backhaus
f6fcf2d12b
bump version number
2013-02-11 13:32:29 +01:00
Till Backhaus
7d9e0c5918
fix admin urls for static files in django 1.5
2013-02-11 13:01:51 +01:00
Marco Bonetti
5cbd6e6ca2
upgraded bundled polib to v1.0.3
2013-02-10 11:08:27 +01:00
Virgil Dupras
e83d68655e
Don't crash when a PO file for the selected ref language is missing or invalid.
2013-01-30 15:59:14 -05:00
Marco Bonetti
f243ab7eaa
add an explicit cache timeout value in the CacheRosettaStorage, to mitigate #59
2013-01-30 20:45:16 +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
Virgil Dupras
ed446f9321
Use the new "storage" object instead of request.session.
...
Also, made the default ref lang 'msgid' instead of 'fr'.
2013-01-29 16:19:51 -05:00
Virgil Dupras
19fcde6053
Fixed bad call to the "url" templatetag.
...
The url name was unquoted.
2013-01-29 15:57:35 -05:00
Virgil Dupras
31a0427f78
Merge branch 'develop' into reflang
2013-01-29 15:53:17 -05:00
Virgil Dupras
7a200ece7c
Merge commit '4146da3287f71ccec5a6713e7e75cb346e805bce' into reflang
...
There was a conflict with rosetta/views.py, but it was easily resolved.
2013-01-29 15:53:05 -05:00
Virgil Dupras
1a13a890b6
Merge commit '4067e069bd680d67aea10afbd841113f6a7f3fd3' into reflang
...
That's (I think), the last commit for v0.6.7 (versionning in this
project is hazy).
2013-01-29 15:47:27 -05:00
Virgil Dupras
8f8429d27d
Merge commit '329e8c693bc90b667f6f09235eec728dffc62f87' into reflang.
...
That commit if v0.6.6.
2013-01-29 15:41:17 -05:00
Virgil Dupras
3ebed99ac2
Extracted the "reflang" feature and applied it on its original commit.
...
I extracted the minimal feature set I could so that integration with newer
upstream commits are easier.
2013-01-29 15:35:11 -05:00
Marco Bonetti
4b9de2eac6
fallback for django 1.3, too
2013-01-15 14:35:08 +01:00
Marco Bonetti
95a53c7234
Merge branch 'develop' of https://github.com/jmoiron/django-rosetta into pull-request-43
2013-01-15 14:28:36 +01:00
Marco Bonetti
bb0c774ed8
additional storage tests to make sure cache and session storage actually works
2013-01-09 15:24:51 +01:00
Marco Bonetti
3009ab1525
added a test to check for DummyCache when using CacheRosettaStorage, which could explain issues #51 and #56
2013-01-09 15:03:01 +01:00
Marco Bonetti
5a51e39738
FIXES #46 - New quoted URL system in django 1.5
2013-01-09 14:16:54 +01:00
David Kuchar
d959ddc3cd
building a separate bulk translator
2012-09-28 20:02:02 -07: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
Jason Moiron
d00dca3d22
force the inclusion of a timezone with timestamps that make it to the pofile to keep them compatible with pybabel
2012-07-26 14:53:52 -04:00
Marco Bonetti
49b4c3e964
Actually move to the next block when submitting a lot of translations (Issue #13 ) - Thanks @fetzig for the patch
2012-06-08 15:50:12 +02:00
Marco Bonetti
5cbf5f80ed
Fix for issue 39 - Add msgctxt to the entry hash to differentiate entries with context. Thanks @metalpriest
2012-06-07 16:52:38 +02:00
Marco Bonetti
f756e0c7ee
Fix for issue 39 - Add msgctxt to the entry hash to differentiate entries with context. Thanks @metalpriest
2012-06-07 16:52:28 +02:00
Marco Bonetti
9b3359002c
Merge branch 'develop' of https://github.com/metalpriest/django-rosetta into pull-request-39
2012-06-07 14:37:08 +02: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
4bf26e1c01
Merge branch 'develop' of github.com:mbi/django-rosetta into storages
2012-06-07 10:18:27 +02:00
Henk Vos
b10e37ebeb
change to def proces to display the actual po file that contains the error on top of the line number
2012-05-30 14:55:26 +02:00
Marco Bonetti
3185d99bf7
storages, wip
2012-05-23 11:45:04 +02:00
Marco Bonetti
72452dd4b3
storages, wip
2012-05-23 11:44:15 +02:00
Dmitry Upolovnikov
f0252f1cfc
Added msgctxt for entrie's md5.
2012-05-21 12:41:02 +03:00
Marco Bonetti
4067e069bd
Merge branch 'develop' of github.com:mbi/django-rosetta into develop
...
Conflicts:
CHANGES
rosetta/locale/fr/LC_MESSAGES/django.po
2012-04-15 09:04:56 +02:00
Marco Bonetti
a73243f30b
added a test project to run tests
2012-04-15 09:02:06 +02:00
Bertrand Bordage
ae14db8588
Update french translation.
2012-04-05 15:33:45 +02:00
Marco Bonetti
7ffc385e72
Merge branch 'master' of https://github.com/sleepyjames/django-rosetta into pull-request-29
2012-03-31 09:09:59 +02:00
Marco Bonetti
d05eece0d4
Merged @rory's PR to correcty handle plural strings that have a leading/trailing newline (Issue #34 )
2012-03-29 17:21:09 +02:00
Marco Bonetti
329e8c693b
Version 0.6.6, Django 1.4 compatibility
2012-03-27 17:08:48 +02:00
Marco Bonetti
7c3a8bb159
initial django 1.4 support. Fixes issue 30.
2012-03-14 09:18:56 +01:00
James White
0cc88501c8
Re-instance .po file save.
2012-03-09 12:27:02 +00:00
James White
10f7c5210b
Fix .mo save if path contains the '.mo' string
2012-03-07 13:38:02 +00:00
Kit Sunde
b34d24915b
Fixes the translation callback not being called and allow for suggestions on "zh-tw" and "zh-cn".
2012-02-25 05:47:43 +08:00
Kit Sunde
9fbf953216
Show bing suggest errors.
2012-02-24 18:37:21 +08:00
Marco Bonetti
e89c42b48c
moved CHANGES file
2012-01-28 09:03:52 +01:00
Marco Bonetti
f7872d5598
Merge branch 'pull-request-23' into develop
2012-01-28 09:00:30 +01:00
Marco Bonetti
32f7a1f0a1
Fix for issue #24 . Support for --nowrap in the edited Po file
2012-01-28 08:58:41 +01:00
Nick Pope
b663129902
Prevent context issue w/ django.contrib.messages
...
Due to the situation we have at work, I encounter a problem whereby the
variable 'messages' in the template render context is overwritten by the
variable 'messages' provided by django.contrib.messages which is passed
in via a RequestContext.
This commit simply renames 'messages' to 'rosetta_messages' to avoid
this problem.
2012-01-25 22:44:50 +00:00
Marco Bonetti
64df1d79c7
version bump
2012-01-16 10:36:58 +01:00
Marco Bonetti
33c1ae6078
merged PR 19, slightly modified to fix a failing test (we want to recheck the setting on each decorator call)
2012-01-16 10:32:35 +01:00
Thomas W
dd304810c6
Adds a flag that allows users to disable authentication requirements for Rosetta views.
2012-01-16 00:14:08 -08:00
Marco Bonetti
4e6e19093d
0.6.3: use the Bing translation service instead of Google's
2012-01-05 15:38:46 +01:00
Daniel Boczek
e68b9af59c
Comments for translators are considered safe in template so developer can add html (fe. links) in them and they display correctly in browser.
2011-08-31 11:27:46 +03:00
Marco Bonetti
eca151e974
bumbed the requirements to Django 1.2, added a fix to handle the tests under Django 1.2
2011-08-27 17:20:23 +02:00
Marco Bonetti
acbd1ceac0
fix for (GoogleCode) issues 112 - Sublanguages & invalid translation language pair
2011-08-27 16:51:33 +02:00
Jarek Śmiejczak
5ffd64915c
fixing test_10_issue_79_num_entries to use proper locale formatting of float
2011-08-12 13:28:46 +02:00
Marco Bonetti
0a75bf00aa
merge of pull request 1, slightly edited
2011-06-30 14:45:40 +02:00
Juan Pablo Martínez
4c23b74a56
add button to translate all rows and unfuzzy
2011-06-25 15:59:56 -03:00
Marco Bonetti
057f278c5c
version bump
2011-06-16 12:23:57 +02:00
Marco Bonetti
c38757f9dc
initial commit
2011-06-16 11:25:15 +02:00