Karl Hobley
ef1e857b77
Updated wagtail-localize
2019-10-07 11:28:02 +01:00
Karl Hobley
3e74cbdfcc
Update wagtail-localize
2019-09-30 09:45:15 +01:00
Karl Hobley
69af9cabeb
Switch back to wagtail's builtin sites module
2019-09-30 09:30:56 +01:00
Karl Hobley
9bd233e50c
Run sync_languages on provision
2019-09-30 09:27:19 +01:00
Karl Hobley
ab16cb5567
Add googletrans to base requirements
2019-09-30 09:26:30 +01:00
Karl Hobley
d670adcb0d
Add RegionFlag model
2019-07-25 12:19:21 +01:00
Karl Hobley
e9bb454fb8
Update Wagtail localize
2019-07-25 12:19:07 +01:00
Karl Hobley
4429262f21
Switch to wagtail-localize
2019-07-23 17:24:12 +01:00
Karl Hobley
faa5112cc0
Update bakerydemo migrations
2019-04-05 16:01:33 +01:00
Karl Hobley
8754d7628d
Pass through copy_for_translation exclude_fields argument
2019-04-05 15:57:02 +01:00
Karl Hobley
edbb7f28f8
Default value for translated_fields
2019-04-05 15:55:12 +01:00
Karl Hobley
aa689e945c
Run copy_for_translation in transaction
...
If the copy_parents=True, then don't commit new parents if the new page
had a validation error
2019-04-05 15:55:06 +01:00
Karl Hobley
f5dca23515
Set translation_key and locale when retrieving page revisions
2019-04-05 15:55:00 +01:00
Karl Hobley
0f242a63f8
Implement Locale.get_all_pages()
2019-04-05 15:54:52 +01:00
Karl Hobley
80f4d9fc28
Language.get_display_name performance improvement
2019-04-05 15:54:37 +01:00
Karl Hobley
8850d8db21
Add default methods to managers
...
So they can be used in migrations
2019-04-05 15:54:26 +01:00
Karl Hobley
ca59a39ea0
Make it easier to bootstrap without default region
2019-04-05 15:50:51 +01:00
Karl Hobley
2e534295b7
Styling tweaks
2019-04-01 13:44:31 +01:00
Karl Hobley
6d24d00eb1
Fix translation request status query
2019-03-29 08:26:32 +00:00
Karl Hobley
0f34c4064e
Commit missing method
2019-03-29 08:13:59 +00:00
Karl Hobley
7125e639c7
Add status field to translation request listing
2019-03-28 17:31:34 +00:00
Karl Hobley
bd1a2ab30c
Make actions more readable
2019-03-28 17:25:05 +00:00
Karl Hobley
0a262c8a96
Set ordering on Language and Locale models
2019-03-28 16:59:38 +00:00
Karl Hobley
3f39ddb19a
Hide google translate if the language isn't changing
2019-03-28 15:14:46 +00:00
Karl Hobley
cb14f530e4
A couple of fixes to copy pages views
2019-03-28 15:07:00 +00:00
Karl Hobley
ae15896bee
Add completion status to translation request pages
2019-03-28 14:56:57 +00:00
Karl Hobley
6bff3bf1d4
Added "Copy Pages" action
2019-03-28 14:37:09 +00:00
Karl Hobley
af98d42d60
Fix invalid language code errors from google translate
2019-03-28 14:14:37 +00:00
Karl Hobley
f228c6fa2c
Allow resoration of translated segments to be customised
2019-03-28 12:51:23 +00:00
Karl Hobley
6f29043de7
Add POFile translation engine
2019-03-28 11:51:56 +00:00
Karl Hobley
d5ea704709
Improvements to Google Translate engine
2019-03-28 11:04:28 +00:00
Karl Hobley
d858f8fe55
Improvements to HTML segment extraction
2019-03-28 10:49:08 +00:00
Karl Hobley
62f506e9d1
Refactor template handling
...
Templates are now handled by the extractor/ingestor rather than at the
database level. All segments that are within a HTML block are now stored
as usual segments which simplifies a lot of logic.
2019-03-28 10:42:25 +00:00
Karl Hobley
957fb18278
Remove stray print statements
2019-03-28 09:18:10 +00:00
Karl Hobley
da03a02a97
Add empty actions message
2019-03-28 09:17:16 +00:00
Karl Hobley
6e8b806801
Google Translate TODOs/FIXMEs
2019-03-28 08:54:13 +00:00
Karl Hobley
e04655d27f
Add Google Translate support
2019-03-27 19:03:31 +00:00
Karl Hobley
a9a612426b
Allow custom model fields to provide custom segment extraction
2019-03-27 19:01:51 +00:00
Karl Hobley
9bdbd341a6
Tweak another migration (see previous commit)
2019-03-27 19:00:52 +00:00
Karl Hobley
8ca99bdaf4
Tweak migrations so they run on older wagtail versions
2019-03-27 18:59:59 +00:00
Karl Hobley
0c42bc4558
Added pluggable "action modules" onto translation requests
2019-03-27 18:59:03 +00:00
Karl Hobley
88ac12750e
Make sure previous revision check only includes requests for same locale
2019-03-27 17:17:08 +00:00
Karl Hobley
1f0ce4f0ad
Made segment formatters pluggable
2019-03-27 15:46:51 +00:00
Karl Hobley
908f37a1b5
Translation memory terminology tweaks
...
"text segment" => "segment"
"html segment" => "html template"
2019-03-27 14:54:40 +00:00
Karl Hobley
33c38997be
Rename segmentizer to translation memory
2019-03-27 14:12:47 +00:00
Karl Hobley
684b01f0e4
Added TextSegmentTranslation model
2019-03-27 14:07:40 +00:00
Karl Hobley
ac7e54e1d6
Split out common code from translation_ingestor.py
2019-03-27 14:07:27 +00:00
Karl Hobley
55a915cb56
Rename segmentizer to segment extractor
2019-03-27 13:19:02 +00:00
Karl Hobley
7d4fb7dc48
Fix compability with older Wagtail versions
2019-03-27 13:14:51 +00:00
Karl Hobley
da368c0177
Fix typo
2019-03-27 13:14:33 +00:00