=== Quick Localisation (fixed) === Contributors: Name.ly, Vyygir Tags: custom,customisation,customization,gettext,lang,language,languages,local,locate,localise,localize,localising,localizing,mo,plugin,plugins,po,pot,theme,themes,translate,translating,translation,tool,tools,acehnese,afrikaans,akan,albanian,amharic,anaang,arabic,armenian,assamese,awadhi,azerbaijani,bagheli,balinese,balochi,bambara,batak,bavarian,belarusian,bemba,bengali,bhili,bhojpuri,bikol,bosnian,buginese,bulgarian,burmese,calabrese,cantonese,catalan,cebuano,chewa,chhattisgarhi,chinese,chittagonian,croatian,czech,danish,deccan,dholuo,dogri,dutch,efik,english,ewe,fante,filipino,finnish,french,fula,fuzhou,galician,gan,ganda,georgian,german,gikuyu,greek,guarani,gujarati,haitian,hakka,haryanvi,hausa,hebrew,hiligaynon,hindi,hmong,hunanese,hungarian,ibibio�efik,igbo,ilokano,indonesian,jamaican creole,japanese,javanese,jula,kamba,kanauji,kanembu,kangri,kannada,kanuri,kashmiri,kazakh,khmer,kimbundu,kituba,kongo,konkani,konkani,korean,kurdish,kyrgyz,lao�isan,lingala,lithuanian,lombard,lomwe,luba-kasai,luganda,luo,luyia,madurese,magahi,maithili,makuwa,malagasy,malay,malayalam,malaysian,malinke,mandarin,mandingo,maninka,marathi,marwari,mazanderani�gilaki,mbundu,min bei,min dong,min nan,minangkabau,mongolian,mossi-dagomba,neapolitan,nepali,northern berber,norwegian,nyanja,oriya,oromo,persian,piemonteis,polish,portuguese,punjabi,rajasthani,rangpuri,romanian,russian,rwanda-rundi,santali,serbian,serbo-croatian,shan,shan,shanghainese,shona,sicilian,sindhi,sinhalese,slovak,somali,sotho�tswana,southern quechua,southern thai,spanish,sukuma-nyamwezi,sundanese,swahili,swedish,sylheti,tagalog,tamil,tatar-bashkir,telugu,thai,tibetan,tigrinya,tshiluba,tsonga,turkmen,twi,ukrainian,umbundu,urdu,uyghur,uzbek,valencian,venetian,vietnamese,wagdi,wolof,wu,xhosa,xiang,yoruba,yue,zhuang,zulu Requires at least: 3.0.0 Tested up to: 4.5 Stable tag: trunk License: GPLv2 or later Quick Localisation allows site admins to patch WordPress translations of any theme and any plugin without leaving the control panel == Description == This version of the plugin has been fixed by Vyygir and added to a new plugin repository to be maintained and updated in the future. Quick Localisation allows to hook on `gettext`, `gettext_with_context`, `ngettext`, and `ngettext_with_context` so that one can easily tweak WordPress translations generated by functions `__`, `_e`, `_ex`, `_n`, `_nx`, `_x`, `translate`, and `translate_with_gettext_context`. For installation please see the [corresponding section](http://wordpress.org/extend/plugins/quick-localisation-fixed/installation/). It is as trivial as copying the plugin folder in your WordPress. To get the flavour of what the plugin actually does, see the [screen shots](http://wordpress.org/extend/plugins/quick-localisation-fixed/screenshots/). Once installed and activated, the plugin back-end will be accessible via a separate menu in the admin panel (WP Admin -> Quick Localisation). N.B. by all means this plugin is not a replacement of the standard [WordPress localisation framework](http://many.at/wordpress-localisation/translating-wordpress/). In fact, webmasters are advised to use it as a long-term solution. However Quick Localisation comes very handy when quick patches or unconventional translations are required. The plugin offers the following options. = Editing Localisation Table = * Old text * New text (optional; empty values will remove the localisation subject) * Text domain (allows to target specific plugin or theme "domains"; if set to `_ALL_` - it will be applied to all matching text) = Export = * Allows exporting saved localisation for easy copy-pasting between the sites and backups. * This feature also comes handy later when generating actual `.PO` files. = Import = * It is possible to import previously saved localisations or just copy them from other WordPress sites. * It is possible to empty the localisation database prior to import as well as to choose whether or not to overwrite already existing entries. = Hooks = At the moment Quick Localisation hooks on `gettext`, `gettext_with_context`, `ngettext`, and `ngettext_with_context` filters with very low priority (namely, 1000), allowing it to be the last one to have a say on translations. Should one use other similar `*gettext*` hooks, the priority can be changed in `index.php`. == Installation == = As easy, as 1-2-3 = 1. Upload `quick-localisation-fixed` folder to the `/wp-content/plugins/` directory 1. Activate the plugin through the 'Plugins' menu in WordPress 1. Specify text to translate 1. Voila! = Usage = Activate the plugin. Settings can be accessed via WP Admin -> Quick Localisation. Use Edit, Export, and Import pages to manipulate translations. == Frequently Asked Questions == = How big can the database be? = The bigger the database, the more parsing the plugin has to perform, the higher the load. The relationship is exponential. Though we tested it with thousand words and the extra load was minimal. = Some plugins appear not to be translated, what can be done about it? = WordPress activates plugins alphabetically or in the order provided by the file system. Having said this, if one of these earlier plugins localises its strings directly on the initialisation, Quick Localisation won't be able to catch those. A known way around it is as follows: 1. Create `quick-localisation-fixed.php` in the `/wp-content/mu-plugins/` directory 1. Add the following line into `quick-localisation-fixed.php`:
`` 1. Voila! == Screenshots == 1. Edit page == Changelog == = 0.1.1 = * Correct fallbacks implemented * Modified capabilities issues * General clean-up and re-write impending = 0.1.0 = * Added a note on how to intialise the plugin via MU plugins * Now handling `_n` and `_x` translatons as well * Fixed the issue when addition of multiple new entries failed on the first one = 0.0.9 = * Fixed warnings generated when `WP_DEBUG` is set to `true` = 0.0.8 = * Fixed bulk edit of many items, which did not work above some limit * Added individual edit screens = 0.0.7 = * Fixed export and import of entries consisting of multiple lines * Gathering nag is now shown only to the [super] site admins = 0.0.6 = * Fixed the known issue with the class property "new" not working in PHP 5.2 (http://many.at/fixingnewproperty/) = 0.0.5 = * Added sorting. * Added references to pre-translated import files. * Improved data collection resulting in no duplicates. = 0.0.4 = * Added Quick Localisation import file. * Minor cosmetic changes. = 0.0.3 = * Added super-admin mode. * Fixed some special strings escaping in textareas. * Supported proper localisation of the plugin itself. * Fixed minor init issue on some standalone installations. = 0.0.2 = * Added settings allowing collecting draft translations. * Improved import with stripslashes. = 0.0.1 = * Initial version. * Created and tested. == Upgrade Notice == = 0.0.1 = This is a great plugin, give it a try. == Translations == * English UK - [_Name.ly_](http://name.ly/) * English US - [_Name.ly_](http://name.ly/) * Russian - [Kreml.in](http://kreml.in/) * Ukrainian - [Lviv.PRO](http://lviv.pro/)