- Đã phát hành
- 15 tháng 8 năm 2016
- Kênh
- Ổn định
- Đã thử nghiệm với WordPress
- 4.6
- Sản phẩm
- WPML Multilingual CMS
WPML 3.5 focuses on String Translation, adding new functionality and improving performance.
Faster String Translation
String Translation in WPML 3.5 looks the same, but behind the scenes it works differently. WPML will keep track of which strings are used on different pages. It will pre-load the necessary strings from the database for each page.
This way, there’s only one database query to load all the strings that a page needs and this database query is fully optimized (loads the minimal number of strings needed).
The benefit this gives depends on the size of the site and, especially, the number of strings in your database.
Sites with a lot of stings benefit the most. With WPML 3.5, each page will load a fraction of the strings in the database.
Translation for Links in Strings
he other major improvement in WPML 3.5 is the ability to translate links in strings (automatically).
We use ‘strings’ for many different things. For example, if your theme stores the ‘lead’ text of your homepage in an ‘option’, WPML will use String Translation for it. Until now, you would need to keep track of strings that have URLs and adjust them to translated content manually. If many strings have links, this could be a very tiring task.
Now, WPML handles links in String Translation, the same as it handles links in ‘posts’ (posts, pages and custom types). When you translate any string that has any link, that link would automatically adjust to point to the translated content. I’ll write a separate blog post that shows how this works with our Toolset Layouts plugin.
Other Changes
Fixes in WPML core
- Fixed canonicals for non translatable posts, as well as for duplicated posts
- Fixed XML-RPC API call to set the language of a newly created post (metaWeblog.newPost , wp.newPost , and wp.newPage ).
WPML Translation Management 2.2.2
Fixes
- Fixed a compatibility issue with ACF repeater fields
- Fixed word count for translatable custom fields.
- Resolved a compatibility issue with a change in WP_Http introduced in WP 4
Features
- Added a button in Translation Dashboard to refresh language pairs available for professional translation
- Improved messages when sending jobs to professional translation fails
WPML String Translation 2.4
Besides the major improvements to performance and link translation, this release fixes a minor bug:
- Fixed getting translated string when icl_t is called directly after icl_register_string.
Sticky Links 1.4.0
Actually, the ability to translate links in String is coming from the update of the Sticky Links plugin. So, this is the major new feature in this release.
WPML SL 1.4.0 also fixes:
- Fix problem with RTL display in admin pages when plugin is activated network wide
GravityForms Multilingual 1.3.11
- Fixed bug with post category field registration.
Cập nhật hoặc tải xuống
Bản cập nhật có sẵn cho tất cả khách hàng WPML có gói đăng ký đang hoạt động — bản cập nhật sẽ xuất hiện trên trang Plugin trong trang quản trị WordPress của bạn trong vòng 24 giờ sau khi phát hành. Bạn cũng có thể kiểm tra ngay trong phần Plugin → Cài mới plugin → Thương mại. Để tải xuống và cài đặt thủ công, hãy truy cập Tải xuống trong tài khoản wpml.org của bạn (xem hướng dẫn cài đặt) và nhớ cập nhật tất cả các thành phần cùng nhau mà không trộn lẫn các phiên bản.
Cần trợ giúp hoặc muốn đóng góp ý kiến? Vui lòng sử dụng diễn đàn hỗ trợ kỹ thuật của chúng tôi.