- Handle HTTP 429 (rate limit) errors: add
RateLimitErrorclass, retry with backoff respecting theRetry-Afterheader, and fix garbled error messages when the response body is not JSON. - Add
--threads Noption towti pullto control the number of concurrent download threads. Defaults to 10. Use--threads 1for sequential pulls. - Modernize code for Ruby 3.0+: use
match?instead of!~,start_with?/delete_prefixinstead of index slicing, array difference instead ofreject, and remove redundant|| nilfallbacks.
- Replace O(n²) string concatenation loop in
StringUtil#backward_truncatewithString#ljust. - Move
$stdout.sync = trueand parameter validation intoBase. AddBase#require_parameters!helper, replacing 5 duplicatevalidate_parameters!methods. DropMetrics/MethodLengthrubocop:todofrom Pull. - Refactor all command classes for consistency: extract small private methods, use guard clauses, and drop all
rubocop:todoannotations forMetrics/AbcSize,Metrics/MethodLength,Metrics/CyclomaticComplexity, andMetrics/PerceivedComplexityacross Add, Addlocale, Diff, Init, Match, Mv, Rm, Rmlocale, and Status. AddConfiguration#target_files_forto centralizemaster_idlookups. - Ensure
Addlocale#callandRmlocale#callreturntrueon success. Previously they returnednil, causingRunnertoexit 1even after successful operations. - Remove dead code: commented-out
ignore_filesmethod inConfiguration, unusedlast_modificationinTranslationFile, unusedtitleizeinStringUtil. - Replace
Object#in?(ActiveSupport) withArray#include?infetch_translations. #435 Configuration#initializenow defaults toDir.pwdinstead ofRails.root, removing the hard Rails dependency. #435- Add
Configuration#files_forto centralize locale and path filtering. Replaces duplicatedfind_all/sortlogic in Pull, Push, Diff, and Match commands. #436 - Split
Utilclass into focused modules:HttpResponse,Concurrency, andPrompt.Utilretains onlyversion,calculate_percentage, andcan_display_colors?. #434 - Extract
Configuration#load_project_datato eliminate duplicated logic betweeninitializeandreload. #433 - Refactor
Util.handle_responseto return response body consistently and let callers decide what to print. Extractstatus_labelfor display formatting. #423 - Remove
Hash#stringify_keys!monkey-patch in favour ofHash#transform_keys(&:to_s). #432 - Extract
Spinnerclass fromRunner#throb. Thread management, ANSI codes, and frame animation are now testable and reusable. #426 - Add
Connection#get,#post,#put,#deletewrappers to eliminate repeatedNet::HTTP::*.new/Util.add_fields/http_connection.requestboilerplate across all API call sites. #424 - Simplify
fetch_localesinPullandPushcommands. Extractwarn_unknown_localeshelper. Remove deprecated--alland--low-priorityoptions frompushandaddcommands. #422 - Extract
TranslationBasebase class fromTranslationandTermTranslationto shareinitialize,save,to_json, and API path logic. #425 Util.with_retriesnow re-raisesTimeout::Errorafter exhausting retries instead of returningfalse. Methods likefind_all,find,create, andupdatenow return consistent types. #411- Standardize
to_hash/to_jsonpattern across all model classes. Maketo_hashprivate inApiResource,String, andTerm. Convert positional boolean to keyword argument. #410 - Extract threading logic into
Util.concurrent_batch. SimplifyPull#pull_filesand fix thread-safety bug with shared mutable state. UseThread#valuefor error propagation. #409 - Separate display logic from business methods in
TranslationFile.fetch,upload,create, anddeletenow return aResultstruct instead of printing to stdout, enabling programmatic use without terminal side-effects. Remove brokenmodified_remotely?dead code. #407 - Refactor long parameter lists to use keyword arguments in
TranslationFile#uploadandTranslationFile#initialize. ExtractTranslationFile.from_apifactory method. Remove unused_global_optionsparameter fromRunner#initialize. #405 - Replace fragile path splitting with
File.dirnameinTranslationFile#fetch. Add specs. #408 - Decompose
CommandLinegod class into 11 focused command classes underCommands::namespace, rename toRunner. #404 - Extract
ApiResourcebase class fromStringandTermto remove duplicated CRUD logic. #403 - Fix generic
rescueblocks to capture and re-raiseStandardError. #406 - Extract
Util.with_retrieshelper to deduplicate retry logic. #402
- Refactor
Connectionclass to eliminate class variables. #254 - Fix
find_allto guard against non-2xx API responses. #355
- Add
wti diffcommand.
- Fix
wti mvcommand. #366
- Remove unused rake generators. Use
wti initcommand instead.
- Remove support for ruby 2.7. Minimum supported ruby version is 3.0. #328
- Dependency updates.
- Fix: Limit the amount of threads used. #294
Fix frozen string literal bug happening when pulling long files names needing truncation. #288
- Remove dependency on
multipart_post. #255 - Add frozen string litteral comments. #251
- Bump minimum ruby version to ruby 2.7.
- Don’t rescue SSL errors. #257
- Fix
wti addlocaleandwti rmlocalecommands. #253
- Fix crash caused by use of API from older Multipart versions. #246 (@rogerluan)
- Relax dependency to
multipart_postto>=0.
- Replace YAML API calls with JSON API calls. (#242)
- Add ruby 3.2 to CI matrix.
- Dependencies upgrade and code refactoring.
- wti now works with
multipart_post = 2.0.0ANDmultipart_post >= 2.2.0.
- Remove
low-priorityargument as inwti push --low-priorityandwti add --low-priority. All the file imports in WebTranslateIt.com are now top priority.
- Relax dependency on
multipart_post. Also made sure that wti works withmultipart_post >= 2.0.0 and < 2.3.
- Specify a minimum version for dependency
multipart_post.
- Potential fix potential for issue
uninitialized constant WebTranslateIt::TranslationFile::Multipart. - Code refactoring.
- New: Ability to see translation statistics per file.
wti statusgives the whole translation project statistics.wti status path/to/filegives the file translation statistics.
- Update readme file (installation instructions and add link to Docker package).
- Fix Rspec ExampleWording offences.
- Move development dependencies to Gemfile and commit Gemfile.lock to version control.
- wti now sends a
User-Agentheader.
- Fix deprecation warning. #181
- Set minimum ruby version to 2.6. It is EOL since December 2018, but it’s still the default ruby shipped with Mac OS Monterey.
- Fix
wti initcommand with ruby 3.1. #177
- Display error message for
before_pull,after_pull,before_push,after_pushhooks. - Remove
silence_errorsoption in configuration file. If SSL isn’t properly configured, it needs to be fixed by updating your cert chain.
- Code cleaning using Rubocop.
- Add ability to ignore files from pulls with a setting in the
.wtifile. Example:ignore_files: ['**/fr.yml', 'config/locales/js/*.yml', 'config/locales/app/fr.yml']
- Better support for
before_pull,after_pull,before_push,after_pushhooks. They now display the command output, and write an error message if the exit status of the command was not successful.
- Properly fix ruby compatibility issues.
- Fix compatibility issues with rubies < 2.6.
- Ruby 3.1.0 compatible.
- Display files that are being updated on WebTranslateIt but are not ready to be downloaded by a
*.
~/Desktop/test% wti pull
# Pulling files on test 3
*cs-CZ.de.yml | 65a7fc8..65a7fc8 Skipped
en.yml | ffd8096..ffd8096 Skipped
i18nextv4.de.json | 142aca7..142aca7 Skipped
*cs-CZ.yml | 42c32a3..42c32a3 Skipped
de.yml | 9dda491..9dda491 Skipped
test.de.json | 48a9c13..48a9c13 Skipped
test.de.txt | 8f305f3..8f305f3 Skipped
test.json | 7a9478f..7a9478f Skipped
i18nextv4.json | 84d6cdf..8776cb3 OK
test.txt | 8f305f3..7a1a5db OK- Improve help on
wti statusdocumentation.
- Add ability to pass project API token as an ENV variable. You can run:
export WTI_PROJECT_API_KEY=[my_api_token]wti pull
- Fix for
wti pullwithout parameters.
- New command:
wti mv path/to/file.po newpath/to/file.poto move a language file both on your local working directory and on your WebTranslateIt project. - Fix:
wti pull somethingnow doesn’t pull anything if no files match what needs to be pulled. Close #151.
- Fix issue referencing old
Trolloplibrary. #149 - Fix issue with SSL certificates. If you encounter any issues you will need to update your CA certificates: https://github.com/AtelierConvivialite/webtranslateit/wiki/Update-CA-certificates
- Update deprecated gem
TrolloptoOptimist.
- Add an option to .wti file to silence SSL errors.
- Fix SSL issue.
- Fix issue pulling multiple files. #142
- Fix issue on
wti statuscommand.
- Clearer error message when no files to push. #136
- New: ability to pull by file name and language. #133
Example:
wti pull config/locales/app/* -l en - New:
wti pull [filepath]now pulls files matching a glob match on the files hosted on WebTranslateIt.com (instead of relying on shell’s list of files which might not exist on the first pull). Close #137. This shouldn’t change existing commands but allows typing something like:wti pull config/locales/*/en.ymlto download only theenfiles. - Fix: Report error messages when running commands such as:
- wti rmlocale xxx
- wti addlocale xxx
- wti status #139
- Fixed an issue where a file would not be created if its content was empty.
wti statusnow returns a status code when a project is not 100% translated or not 100% proofread. #127 Status codes are:- 100 if not 100% translated,
- 101 if not 100% proofread,
- 0 if project is 100% translated and proofread.
wti initnow returns a successful status code. #126
- Now returns correct exit codes.
0if command successful,1if any error has occurred. - Limit the amount of retries to 3 on timeout.
- Add
--debugoption to turn on debug output.
- Use longer timeout.
- The
.wticonfiguration file is now parsed by ERB so the API token can be stored in an environment variable instead of in the.wtifile. #118
- Deprecate
wti push --all. This command was replaced bywti push --target, which is slightly different since it only pushes target locales. The--alloption was deprecated because pushing all source and target files at the same time can cause synchronization issues under some circumstances. - Add new
wti push --targetcommand to push target files only. - Read more about these changes the blog: https://webtranslateit.com/en/blog/posts/264-Updates-to-synching-behaviour
- Fix deprecation warning. #112
- New configuration option:
needed_locale: an array containing all the locales you want to sync with WebTranslateIt. #110
- Update dependencies.
- Bug fix on
wti pull.
- New: Ability to pull a specific file or directory.
Examples:
wti pull path/to/file.jsonto pull a file.wti pull config/locales/javascript/*to pull all the files in the `config/locales/javascript directory. - Bug fixes to autofetch.
- Commands now display more information, such as the current project’s name.
- Improvements to auto-fetch: reload I18n after fetch, and do not run auto-fetch for static requests.
- Tweak
wti pullto use up to 10 threads.
- Update
WebTranslateIt.fetch_translations. - Limit amount of simultaneous HTTP requests to WTI.
- Display more information about “unavail” error message. #97
- New: add ability to initialize project with a one-liner:
wti init api_token. #94 - Catch errors when running commands in a directory not containing a .wti file. #98
- Update my name so it doesn’t contain accentuated characters anymore (seems to make jruby/rubygems 2.0.3 fail to install the gem). #96
- Upgrade dependency on multipart-post, which includes a few compatibility fixes to ruby 2.0.
- Update CA cert of the WebTranslateit’s issuer (Rapid SSL). #95.
- A new version of WebTranslateIt brings instant statistics generation. Statistics are never stale,
so removed some code that was handling stale stats in
wti status. #93
- Remove dependency on JSON. We use
multi_jsoninstead so wti should now be easier to install. (it previously required a C compiler to install).
- New: Add ability to pass a file path in
wti push:wti push path/to/file. #90. - Made it a bit clearer that wti push now takes an optional file path.
- Move version file to a string in the .gemspec file.
- Upgrade dependencies
- New: Add a throbber to indicate the project information is loading.
- New: Display error message when pushing or pulling a language that doesn’t exist in a project.
- Fixed: Compatibility problem with ruby 1.8.6.
- Fix: String#translation_for('xx') should not return an array of all translations. #88
- Fix: Term#translation_for('xx') should not return an array of all term translations.
- String#find and Term#find now return nil if no element was found with that ID.
- String, Translation, Term and TermTranslation classes now raise exceptions and display useful error messages. #87
- Implemented pagination for
String#find_allandTerm#find_all. This should work seemlessly with no API change.
- Fix: Issue with saving labels on a string.
- Add more helpers to
wti inita project - Add ability to add a source locale to a project from the command line: the first
wti addlocale xxsets the source locale. wti add: Display if there are no new files to add.
- Allow instantiating
WebTranslateIt::StringandWebTranslateIt::Termusing a Hash made of symbols or strings.
- Remove deprecated
wti server. - Reword command help and output.
- Rework String, Translation, Term and TermTranslation refactoring. Now using a connection persisted as a class instance. See connection.rb. This makes for a nicer syntax.
- Backport of compatibility fix for ruby 1.8.7 from 1.x serie.
- Fix issue with new version system, which broke the gem. #86
Important: This release candidate introduce breaking changes in the String, Translation, Term and TermTranslation APIs. See Extras if you use the String, Translation, Term and TermTranslation APIs to programmatically manage strings, translations and terms.
- Remove undeclared dependency on ActiveSupport. ActiveSupport was required to use the
WebTranslateIt::String,Translation,TermandTermTranslationclasses. #84 - Refactor
WebTranslateIt::StringandWebTranslateIt::Translationclasses and add specs. #85 - Refactor
WebTranslateIt::TermandWebTranslateIt::TermTranslationclasses and add specs.
- Compatibility fix for ruby 1.8.7.
- New: Prevent existing master files from being added again on
wti add. This allows to run something like:ls *.xml | grep -v "\.en" | xargs wti addwithout worrying about adding files a second time. Patch submitted by Ivan Kolesnikov ik@playtox.ru. - New: Better error messages. #82.
- New: Add process name to command line tool. #81.
- Fix: Prevents
wti statusfrom crashing, #83.
- New:
wti pushonly push local files having a different checksum than the ones on WTI server. Patch submitted by Ivan Kolesnikov ik@playtox.ru. - New:
wti push --forcelets you force push files. Patch submitted by Ivan Kolesnikov ik@playtox.ru.
- Support for new
minor_changesflag on File API. Use withwti push --minor.
- Include classes to connect to TermBase and TermBase Translation APIs.
- Bug fix: Prevent
wtifrom crashing when pulling from a project having no files.
- Bug fix: the round(1) used in performance statistics wasn’t compatible with ruby < 1.9.
-
Gem now includes library to connect to String and Translation APIs, see #74 and #78. (@bray).
-
Add
<filename>placeholder. -
Bug fix: don’t crash when running
wti initon an empty project. -
Bug fix: File API was returning
102 Continueerror status when fetching a file begin currently imported. It was making subsequent requests fail. The File API now returns503 Service Unavailable. Client was updated to handle this status. -
Fix
wti statuscommand. -
Improvement: truncate
wti pullperformance statistics (Pulled 10 files in 0.7 seconds at 13.4 files/sec). -
Fix: Configuration file lookup improvements. Configuration files can now be located in another directory, and
wticommands don’t have to be executed in the root directory. It is now possible to execute:wti pull wti pull -c /Users/edouard/code/test/.wti wti pull -c ../.wti wti pull -c ~/code/.wti
- Add
wti rmandwti rmlocaleto CLI help. - Sort files by name in
wti push. - Improve command-line interface. Executing
wtishould now give help. - Bug fix: TranslationFile timeouts, #77. (@bray).
- Deprecate
wti server. This feature was introducing a hard dependency on Sinatra, which is not desirable when embeddingweb_translate_iton a Rails application.wti servernow lives in a separate gem,web_translate_it_server, which depends on theweb_translate_itgem. To keep usingwti server, execute:gem install web_translate_it_serverand run:wti-server.
- Add new command
wti rmlocale locale_code_1 locale_code_2 ...to delete a locale from a project. - Add new command
wti rm path_to_file1 path_to_file2 ...to delete a master file from a project. wtisends client name and version in custom headers. #73.
- Bring back
-coption to specify a configuration file with a specific name.wti pull -c config/translations.ymlfor instance. See #67 and #71. web_translate_itrubygem now respects semantic versioning. #72.
- Remove
sanitize_locale. This method was replacing locale codes likeen_USbyen-US. It is now up to the user to make sure they use the correct locale format. - Fix minor display bug during wti pull. See #70.
- Add
--low-priorityoption towti addcommand.
- Fix frozen string bug on ruby 1.9.3 (thanks @mikian for the patch).
- Fix: arrays of symbols
ignore_locales: [:en, :fr]are not being parsed by Psych. People should use an array of strings (ignore_locales: ['en', 'fr']) or the longer version instead:ignore_locales: - :en - :fr
wti pulldownloads files in parallel, using up to 20 threads. This makes syncing much faster for projects containing many files (up to 65 files/sec).- Default configuration file was renamed
.wti. #67. The upgrade process should be seamless. Config file will be renamed if aconfig/translation.ymlfile is detected.
- Possible fix for encoding issue in .gemspec file, #66
- Removed dependency on
ansigem, so wti now installs smoothly on Windows machines. Prior to that Windows users had to manually install thewin32consolegem. #62.
- Revert previous commit, which didn’t work. Added an extra step to the Windows installation instructions: http://help.webtranslateit.com/kb/tips/how-to-install-wti-on-windows
- Fix broken
WebTranslateIt.fetch_translations, #63.
- Add dependency on
win32consolefor Microsoft Windows users.
- Update multipart-post dependency.
- Only include CA cert of WTI’s SSL certificate issuer. #61.
- Update ansi dependency.
- Bug fix: re-recreate http connection from scratch after SSL certificate verification failure.
- Bug fix: don’t try to modify a frozen object during fall back to non-verified SSL. #60
wtinow falls back to non-verified SSL connections if SSL verification cannot be done.
- Bug fix: Disable colors when running under MS Windows. #58
- Bug fix: Don’t verify SSL certificate when running under MS Windows. #57
- Upgrade
multipart-postdependency. - Replace
rainbowdependency byansi, which can also format columns. #55 - Bug fix:
translation.ymlfile wasn’t created on new projects. - New: Gracefully quit on interrupt.
- New command:
wti match. Displays files matching with the File Manager. - Improved help commands.
- Fix: SSL certificate verification wasn’t working on some systems (at least Ubuntu).
- New: Faster file transfers using KeepAlive’d connection.
- New: Verify SSL certificate on connection.
- Fix: Display more detailed error messages on unconfigured projects. Ticket #56
- Fix:
wti initnow checks if configuration file is writable. Ticket #35 - Remove rake tasks. Rake tasks are much slower than the
wti executableand were removed. Should you want the rake tasks back, see how to add them in your project on the wiki.
- Fix: Broken links on
wti server. - Fix: Avoid crashes on blank checksums. Ticket #53 This bug could happen when the file checksum is not yet calculated by WTI server, typically by doing a wti push, then wti pull too quickly.
- Update Sinatra to 1.2.6.
- New: Compare local file checksum with file checksum from WTI API to determine if file needs downloading. We were previously using the date of last modification which can be a little bit unreliable.
- Remove
wti autoconfandwti stats. These commands were deprecated in favour ofwti initandwti status(and its aliaswti st).
- Bug fix:
wti initfails when configuration file doesn’t exist. - Add Gemfile for using
web_translate_itwith Bundler.
- Deprecate
wti autoconfin favour ofwti init. - Deprecate
wti statsin favour ofwti statusand its aliaswti st. - Better help and options. Replaced option parser from Choice to Trollop.
wti pull -lcan now take several locales separated by spaces. For instance:wti pull -l "en fr ja"wti push -lcan now take several locales separated by spaces. For instance:wti push -l "en fr"- New: Coloured terminal output.
- New:
before_pullandafter_pullhooks now work for all kind ofwti pull(not only withinwti server). - New: Added 2 new hooks:
before_pushandafter_push.
- New:
wti unknow_commandexplains how to get help. - Upgrade Sinatra to 1.2.0.
- New: Increase timeout to 30 seconds to accommodate large projects.
- Fix: Make sure
logdirectory exists onwti serverstart up. - New: Upgrade Sinatra to 1.1.3.
- Fix an issue with
wti serverswallowing allwtioutputs.
- New: Add
--low_priorityoption. - Update Sinatra and multipart-post dependancies.
- New: Enable logging of
wti server. Logs will be saved inlog/webtranslateit.login your project directory.
- Fix: Bug in
wti add.
- Fix: server timeout handling on
wti addlocale.
- New:
wti addlocale locale1 locale2 ...to create new locales for a project.
- New: TranslationFile#fetch now use file timestamps served by the Project API.
This makes
wti pullmuch faster, especially for projects having a lot of files - Fix:
wti servernow notice new languages. Each page request towti servernow reloads the project information from Web Translate It.
- Fix connection problems through a proxy (1.7.0.7.pre)
- Fix eventual problems connecting through an authenticated proxy (1.7.0.7.pre2)
- Makes
wti serverload much faster for projects having a lot of files. - The web interface now displays before_pull and after_pull hooks to facilitate debugging.
- Ability to do
wti pull -lfrom the web interface to update server faster.
- Fixes to make wti compatible with Ruby 1.9.2.
- New: Added support for labels. Only works for
wti pushfor now.wti push --label release_week_4will tag new and changed strings asrelease_week_4.
- New: ability to add several master files at once
wti add file1 file2 file3 …wti add *.yml.
- Fix bug with file permissions.
- Handle server timeouts more gracefully, and retry request. Set timeout down to 20 secs.
- New: display warning if file is not writable.
- New:
wti serverlaunch a sinatra app allowing to sync files from a web interface. Pinched from Tom Lea’s awesome rack-webtranslate-it, but made less specific. - Bug fix:
wti autoconfnow create directories correctly if they don’t already exist. #27
- New:
wti add file_pathto create a new master language file on Web Translate It. This is only for master language files. Target language files are created server-side, and can be updated usingwti push --all.
- New:
--mergeoption to force WTI to perform a merge of this file with its database. - New:
--ignore_missingoption to force WTI to not obsolete missing strings.
- Enhancement: Remove new line on push/pull result. It now displays
Pulling config/locales/app/fr.yml… 200 OK. - Enhancement:
wti statsnow propose to refresh the stats if the stats displayed are stale. - Bug fix:
wti pushused to crash on non-existent files. Close #24.
- Bug fix: Rake tasks not working
- Bug fix: Don’t rely on active_support only for .blank? Fix issue #23
- Bug fix: ability to run
raketasks if Web Translate It is installed as a plugin. - Fix tests and 1 encoding bug for Ruby 1.9.
- Bug fix: prevents a few crashes when accessing non-configured projects.
- Bug fix:
wti push --allwas using an incorrect list of locales, thus not pushing all files.
-
Bug fix: Encoding problem with Ruby 1.9 (Romain Sempé)
-
Bug fix: Make rake task create locale directory if it doesn’t exist yet. (Romain Sempé)
-
Bug fix: Make the list of ignore locales work for wti pull (it won’t pull the locales you ignore)
-
Breaking update: The project configuration changed and doesn’t include a list of master language files any longer. This makes configuration much simpler. However you must configure the exact file path of your files in the File Manager. This allows much more flexibility for the choice of your language file names. Ref #22.
- Only added a man page.
- Add
wti stats, to fetch the project stats from the stats API endpoint.
Warning, some deprecations in this version.
- Remove
wti fetchandwti upload. It was deprecated in 1.4.7 in favour ofwti pullandwti pushrespectively. wti pushnow only pushes the master language file. Usewti push --allto push all orwti push -l [locale]to push a specific locale.wti pullnow only pulls the target language files. Usewti pull --allto pull all orwti pull -l [locale]to pull a specific locale.- Increase read timeout to 40s — Required for very large projects.
- Bug fix:
wti autoconfnow create directory if it doesn't exist. - Bug fix:
wti autoconfnow ask the user where are the locale files.
- Add deprecation warning for
wti --fetch,wti -f. These commands will be deprecated in favour ofwti pull. - Add deprecation warning for
wti --upload,wti -u. These commands will be deprecated in favour ofwti push. - Add -c parameter to specify a configuration file at a custom location.
- Add -l parameter to specify a specific language file to pull or push (only works with
wti pullandwti push). - Add --force parameter to force Web Translate It to send the language files again, regardless if the current
language file version is current (this makes
wti pullvery much slower). - Add
wti autoconfcommand to automatically configure your project for Web Translate It.
- Add feedback when using the
wti command. - Fix bug where fetch requests were not using the conditional get requests feature.
- Improved documentation
- Web Translate is now an executable:
wti
- Add generator to automatically configure your project, given a Web Translate It API key.
- Remove rake trans:config, as configuration is now handled by the generator.
- Remove colour outputs as it increases code complexity and doesn't add any value.
- Rack middleware now write to the application’s log file instead of just puts-ing
- Better error messages for misconfigured projects
- Bug fix for
rake trans:configwhich was not installing the translation.yml file properly.
- Rename
rake trans:send[fr_Fr]torake trans:upload[fr_FR] - Remove
rake trans:versiontask. Instead, version number is displayed in the welcome banner. - Code refactoring
- More tests
- The plugin is now a gem
- Add rack middleware to automatically fetch your translations
- Remove
autofetchparameter in configuration file as it is better off to leave it to the user to include the rack middleware in each environment file. - Add example of rack middleware for setting up I18n.locale
- Add some documentation
- More feedback on file upload
- New: Ability to update language files via PUT requests. Upload brand new language files is not possible at the moment.
- Fix: locales in exclude list are no longer autofetched when browsing the app in these locales.
- Support for multi-files projects.
- Deprecate
rake translation:*in favour of the shorter formrake trans. - Add task
rake trans:fetch[en_US]to fetch files locale by locale. - Add task
rake trans:fetch:allto fetch all the files for all locales defined in Web Translate It’s web interface.
- Better support for exceptions.
- First version, plugin only support download of strings. Strings upload will be available in a later version.