Released on 4 August 2015
This is the first release of Pootle that combines the work of Evernote and Translate.
Below we provide much more detail. These are by no means exhaustive, view the git log for complete information.
POOTLE_WORDCOUNT_FUNC
allows a custom word counting method to
be used.pootle.core.utils.wordcount.wordcount
has been incorporated
(it omits placeholders and words that shouldn’t be translated). Non-empty
units with 0 words are immediately translated and marked as fuzzy.view
permission is now project-centric, it can be set server-wide or
for projects, but not for individual language-project combinations.POOTLE_TM_SERVER
and to load the TM use the update_tmserver
management command.POOTLE_CONTACT_REPORT_EMAIL
.dumpdata
and loaddata
commands to move
between databases is no longer supported. If you need to move, please use
proper SQL scripts instead.POOTLE_QUALITY_CHECKER
can be used to point to a custom
quality check handler.POOTLE_REPORTS_MARK_FUNC
allows a site wide function to provide
marks to user graphs.fork()
therefore Pootle will only run on systems that implement
fork()
. Importantly that means that Pootle is no longer supported on
Windows. It would be possible to run Pootle on Windows if the rqworkers are
run on a system that supports fork()
.update_stores
inserts and deletes units in the
store (issue 3802).update_stores
if a directory doesn’t exist while running the
command, the project will be disabled. Thus the
update_translation_projects
command has been removed, it’s functionality
has been merged into update_stores
with this change.changed_languages
management command.--check
flag
passed to the refresh_stats
management command.--calculate-checks
parameter to the refresh_stats
command.refresh_stats_rq
was added to allow statistics to be refresh when
running with multiple RQ workers.system
user to attribute changes done by the management
commands.test_checks
management command.--directory
and --path-prefix
parameters from management
commands. --project
and --language
should be used instead
to reduce the scope of commands.--modified-since
flag from sync_stores
and
update_stores
. Optimizations will automatically be done based on
the latest sync revision.revision
, refresh_scores
,
retry_failed_jobs
, import
, export
,
dump
and calculate_checks
.POOTLE_
.
The following settings are impacted and should be renamed accordingly in your
settings file:TITLE
-> POOTLE_TITLE
CAN_CONTACT
-> POOTLE_CONTACT_ENABLED
CAN_REGISTER
-> POOTLE_SIGNUP_ENABLED
CONTACT_EMAIL
-> POOTLE_CONTACT_EMAIL
PODIRECTORY
-> POOTLE_TRANSLATION_DIRECTORY
MARKUP_FILTER
-> POOTLE_MARKUP_FILTER
USE_CAPTCHA
-> POOTLE_CAPTCHA_ENABLED
MT_BACKENDS
-> POOTLE_MT_BACKENDS
POOTLE_CONTACT_REPORT_EMAIL
-> POOTLE_REPORT_STRING_ERRORS_EMAIL
EXPORTED_FILE_MODE
-> POOTLE_SYNC_FILE_MODE
OBJECT_CACHE_TIMEOUT
-> POOTLE_CACHE_TIMEOUT
LEGALPAGE_NOCHECK_PREFIXES
-> POOTLE_LEGALPAGE_NOCHECK_PREFIXES
CUSTOM_TEMPLATE_CONTEXT
-> POOTLE_CUSTOM_TEMPLATE_CONTEXT
POOTLE_TOP_STATS_CACHE_TIMEOUT
has been removed with the old top
stats rendering and is replaced by the new browsing UI.VCS_DIRECTORY
is now deprecated as the integrated Version Control
feature has been removed to come back at a later date.CONTRIBUTORS_EXCLUDED_PROJECT_NAMES
and
CONTRIBUTORS_EXCLUDED_NAMES
have been removed along with the
contributors’ page.DESCRIPTION
has been removed, use static pages instead.ENABLE_ALT_SRC
has been removedMIN_AUTOTERMS
has been removedMAX_AUTOTERMS
has been removedFUZZY_MATCH_MAX_LENGTH
has been removedFUZZY_MATCH_MIN_SIMILARITY
has been removedEXPORTED_DIRECTORY_MODE
has been removedauth.User
and PootleProfile
before, and has allowed to
remove the dependency on deprecated third party apps that were bundled in the
code.Suggestion
models have been merged into a single model.last_sync_revision
field of the store.creation_time
field.reverse()
and {% url %}
are used almost
everywhere.There are two groups of features that have been dropped:
The following features are removed from Pootle since 2.5.1.3 and will be recovered at some time. Where possible we provide alternate approaches that can be used.
Note
sysadmins should take note of these changes and determine if this prevents use of Pootle within their environment. Essentially you will need to evaluate the use and need for each missing feature.
update_stores
to load the changed files.We have dropped these features, some of which have been kept around to allow easy upgrades in the past:
Note
The removal of some of these feature required extensive changes to the upgrading code, which means that upgrading directly from very old Pootle versions is no longer possible. In case you are trying to upgrade you must first upgrade to 2.6 before continuing the upgrade process.
updatetm
tool was
removed in Pootle 2.5.0.sync_stores
instead.update_translation_projects
, updatedb
,
upgrade
, setup
, assign_permissions
.…and lots of refactoring, upgrades of upstream code, cleanups to remove old Django versions specifics, improved documentation and of course, loads of bugs were fixed.
This release was made possible by the following people:
Julen Ruiz Aizpuru, Taras Semenenko, Dwayne Bailey, Leandro Regueiro, Igor Afanasyev, Jerome Leclanche, Khaled Hosny, pfennig59, Zahim Anass, Trejkaz (pen name), safaalfulaij, Peter Bengtsson, msaad, Mikhail Paulyshka, Miha Vrhovnik, Kevin Scannell, Edmund Huber, Dídac Rios, Andras Timar.
And to all our bug finders, testers and translators, a Very BIG Thank You.