=== GlotPress === Contributors: a5hleyrich, akibjorklund, bradt, chantalc, gilbitron, gregross, javorszky, nacin, ocean90, polevaultweb, rmccue, samuelsidler, SergeyBiryukov Tags: translation Requires at least: 4.4 Tested up to: 4.5 Stable tag: 2.0.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html GlotPress is a WordPress plugin to let you set up your own collaborative, web-based software translation tool. == Description == Many open source projects span regions, countries and dialects and need to support a variety of translations, GlotPress is here to help you collaborate online with your translators to ensure your users see your software in their native language. GlotPress has two versions, a standalone version and this WordPress plugin version. At this time these two versions are functionally similar, but the plugin version is likely to start moving away from the standalone version in future versions. For the rest of this document, any reference to "GlotPress" should be taken as the plugin. For more information about GlotPress, feel free to visit the channels listed below in the "Communication" section. So who should use GlotPress? Any developer of software that uses [gettext](http://www.gnu.org/software/gettext/), like WordPress theme or plugin authors. But that's just the start, anyone who uses a gettext bases system can use GlotPress to help their translators collaborate. This plugin wouldn't be possible without all the hard work that has gone in to the standalone version of GlotPress and we'd like to thank all those who contribute to it. = Support = For basic support questions, please use the [WordPress.org support forums](https://wordpress.org/support/plugin/glotpress). If you have a bug or feature request please visit [the issues list](https://github.com/GlotPress/GlotPress-WP/issues) to help improve it in future. If you'd like to work on something and there's not currently an issue for it, open a new issue and describe your proposed change before jumping into coding. = Communication = * [GitHub Home](https://github.com/GlotPress/GlotPress-WP) * [Blog](http://blog.glotpress.org/) * [WordPress Slack](https://chat.wordpress.org/): #glotpress (for development only) == Installation == Search for "GlotPress" in the WordPress.org plugin directory and install it. After activating the plugin, GlotPress can be accessed via `/glotpress/` = Manual Installation = 1. Upload the entire `/glotpress` directory to the `/wp-content/plugins/` directory. 2. Activate GlotPress through the 'Plugins' menu in WordPress. 3. GlotPress can then be accessed via `/glotpress/` = More Info = More information can be found in the [GlotPress Manual](http://blog.glotpress.org/the-manual/). == Frequently Asked Questions == = How can I contribute to GlotPress? = Drop by the [GlotPress GitHub](https://github.com/GlotPress/GlotPress-WP) repository and look through the open issues and pull requests. = So who should use GlotPress? = Any developer of software that uses [gettext](http://www.gnu.org/software/gettext/), like WordPress theme or plugin authors. But that's just the start, anyone who uses a gettext bases system can use GlotPress to help their translators collaborate. = How do I migrate my standalone GlotPress install to the plugin? = There's a conversion document on the [GlotPress wiki](https://github.com/GlotPress/GlotPress-WP/wiki/1.3-Convert-a-standalone-install-to-the-WordPress-plugin) on how to convert your standalone install. = I've written a custom plugin for the standalone version, will it work with the plugin? = Short answer, no. You will need to update the plugin to be a WordPress plugin. Instructions on how to do so can be found on the [GlotPress Wiki](https://github.com/GlotPress/GlotPress-WP/wiki/1.2-Converting-Plugins). == Changelog == All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). = 2.0.0 (April 04, 2016) = **Bugfixes** * Delete cookies for notices on installs without a base. ([#379](https://github.com/GlotPress/GlotPress-WP/issues/379)) * Fix "Use as name" link on translation set creation page. ([#381](https://github.com/GlotPress/GlotPress-WP/issues/381)) = 2.0.0-rc.1 (March 29, 2016) = (this space intentionally left blank) = 2.0.0-beta.2 (March 27, 2016) = **Security** * Implement nonces for URLs and forms to help protect against several types of attacks including CSRF. ([#355](https://github.com/GlotPress/GlotPress-WP/issues/355)) **Bugfixes** * Avoid a PHP warning when updating a glossary entry. ([#366](https://github.com/GlotPress/GlotPress-WP/issues/366)) * Improve mb_* compat functions to support all parameters and utilize WordPress' compat functions. ([#364](https://github.com/GlotPress/GlotPress-WP/issues/364)) = 2.0.0-beta.1 (March 17, 2016) = **Breaking Changes** * Remove Translation Propagation from core. [Now available as a plugin](https://github.com/GlotPress/gp-translation-propagation/). ([#337](https://github.com/GlotPress/GlotPress-WP/issues/337)) * Remove user and option handling in `gp_update_meta()`/`gp_delete_meta()`. ([#300](https://github.com/GlotPress/GlotPress-WP/issues/300)) * Remove deprecated `assets/img/glotpress-logo.png`. ([#327](https://github.com/GlotPress/GlotPress-WP/issues/327)) * Remove `gp_sanitize_for_url()` in favor of `sanitize_title()` for enhanced slug generation. ([#330](https://github.com/GlotPress/GlotPress-WP/pull/330)) * Improve return values of `gp_meta_update()`. ([#318](https://github.com/GlotPress/GlotPress-WP/issues/318)). * Remove CLI command `GP_CLI_WPorg2Slug`. ([#347](https://github.com/GlotPress/GlotPress-WP/issues/347)) **Features** * Make projects, translation sets, and glossaries deletable via UI. ([#267](https://github.com/GlotPress/GlotPress-WP/issues/267)) * Update several locale definitions to use new Facebook and Google codes and correct country codes. ([#246](https://github.com/GlotPress/GlotPress-WP/issues/246)) * Add Greenlandic, Spanish (Guatemala), and Tahitian locale definition. ([#246](https://github.com/GlotPress/GlotPress-WP/issues/246)) * Add auto detection for format of uploaded import files. ([#290](https://github.com/GlotPress/GlotPress-WP/issues/290)) * Add UI to manage GlotPress administrators. ([#233](https://github.com/GlotPress/GlotPress-WP/issues/233)) * Add checkbox for case-sensitive translation searches. ([#312](https://github.com/GlotPress/GlotPress-WP/issues/312)) * Add support for Java properties files. ([#297](https://github.com/GlotPress/GlotPress-WP/issues/297)) * Add cancel link to import pages. ([#268](https://github.com/GlotPress/GlotPress-WP/issues/268)) * Add warning and disable the plugin if permalinks are not set. ([#218](https://github.com/GlotPress/GlotPress-WP/issues/218)) * Add warning and disable the plugin if unsupported version of PHP is detected. ([#276](https://github.com/GlotPress/GlotPress-WP/issues/276)) * Add inline documentation for actions and filters. ([#50](https://github.com/GlotPress/GlotPress-WP/issues/50)) * Add backend support to allow for integration with WordPress' user profiles. ([#196](https://github.com/GlotPress/GlotPress-WP/issues/196)) * Introduce a separate page for settings. ([#325](https://github.com/GlotPress/GlotPress-WP/issues/325)) * Validate slugs for translation sets on saving. ([#329](https://github.com/GlotPress/GlotPress-WP/issues/329)) * Standardize triggers in projects, translations and originals. ([#294](https://github.com/GlotPress/GlotPress-WP/issues/294)) * Introduce `GP_Thing::after_delete()` method and new actions. ([#294](https://github.com/GlotPress/GlotPress-WP/issues/294)) * Add .pot extension to `GP_Format_PO`. ([#230](https://github.com/GlotPress/GlotPress-WP/issues/230)) * Various code cleanups to improve code quality. ([#237](https://github.com/GlotPress/GlotPress-WP/issues/237)) **Bugfixes** * Mark Sindhi locale definition as RTL. ([#243](https://github.com/GlotPress/GlotPress-WP/issues/243)) * Replace `current_user_can( 'manage_options' )` with GlotPress permissions. ([#254](https://github.com/GlotPress/GlotPress-WP/issues/254)) * Make child projects accessible if permalink structure has a trailing slash. ([#265](https://github.com/GlotPress/GlotPress-WP/issues/265)) * Use real URLs for back links instead of JavaScript's history `back()` method. ([#278](https://github.com/GlotPress/GlotPress-WP/issues/278)) * Replace deprecated/private `[_]wp_specialchars()` function with `htmlspecialchars()`. ([#280](https://github.com/GlotPress/GlotPress-WP/issues/280)) * Merge similar translation strings and avoid using HTML tags in translation strings. ([#295](https://github.com/GlotPress/GlotPress-WP/pull/295)) * Add missing `gp_` prefix for for translation actions. ([#232](https://github.com/GlotPress/GlotPress-WP/issues/232)) * Fix case where `$original->validate()` fails if singular is '0'. ([#301](https://github.com/GlotPress/GlotPress-WP/issues/301)) * Fix auto generation of project slugs with special characters. ([#328](https://github.com/GlotPress/GlotPress-WP/issues/328)) * Suspend cache invalidation during original imports. ([#332](https://github.com/GlotPress/GlotPress-WP/issues/332)) * Prevent submitting translations with empty plurals. ([#308](https://github.com/GlotPress/GlotPress-WP/pull/308)) * Update schema definitions to work with WordPress' `dbDelta()` function. ([#343](https://github.com/GlotPress/GlotPress-WP/issues/343)) * Fix redirect when a translation set update failed. ([#349](https://github.com/GlotPress/GlotPress-WP/pull/349)) * Prevent a PHP fatal error when importing originals. ([#302](https://github.com/GlotPress/GlotPress-WP/pull/302)) Thanks to all the contributors so far: Aki Björklund, Daisuke Takahashi, Dominik Schilling, Gabor Javorszky, Greg Ross, Peter Dave Hello, Rami, Sergey Biryukov = 1.0.2 (March 09, 2016) = **Security** * Sanitize messages in `gp_notice()`. = 1.0.1 (January 21, 2016) = **Bugfixes** * Unslash PHP's superglobals to prevent extra slashes in translations. ([#220](https://github.com/GlotPress/GlotPress-WP/issues/220)) * Adjust add/delete glossary entry links with trailing slashes. ([#224](https://github.com/GlotPress/GlotPress-WP/issues/224)) = 1.0.0 (January 18, 2016) = * Initial release.