BulkRejectGP – Reject terms automatically

Another tool for you after GlotDict and PteBot!

  1. Problem

GlotPressGlotPress GlotPress is the translation management software that powers Translate.WordPress.org. More information is available at glotpress.org. automatically add translations for terms also for wrong terms because somewhere they was approved.
A case example of that problem, we decide that a term or a stringString A string is a translatable part of the software. A translation consists of a multitude of localized strings. used have to change to improve the terms in the translations.
This is very boring because you have to reject manually all the stringsString A string is a translatable part of the software. A translation consists of a multitude of localized strings.. Actually to find strings there is the consistency tool that works very well but only for approved string, but as we say in Italy better than nothing, so we have that tool.

  1. Automation

I am a developer and boring task like this are very very boring but funny when you want to automatize it.
With the help of Firefox Nightly and the Marionette framework I written a script that with a simple config file search for the english terms and for the translation to remove it and do it automatically for you.
Can crash sometimes because GlotPress is very slow to load the pages.
Obviously the tool do the login and for reject are required the PTEProject Translation Editor A Project Translation Editor (often referred to as PTE) is a person, who has access to validate strings on a specific project (for example BuddyPress, WooCommerce or Twenty Fourteen) for one specific locale. A project translation editor can approve strings that are added by translation contributors. Per project translation, editors are appointed by a general translation editor after a request by the project author or by the contributors themselves. permissions.

  1. Other problems

Another problem is that I cannot to do the same for the strings in waiting because they are not in the consistency tool (the tool scan the result generated from this tool).
Also use it is not very easy to use because require few steps for advanced developers to use but with the config file it is very easy.

This is the third tools and like PteBot a problem that we have for tools like this is the missing of a Rest APIREST API The REST API is an acronym for the RESTful Application Program Interface (API) that uses HTTP requests to GET, PUT, POST and DELETE data. It is how the front end of an application (think “phone app” or “website”) can communicate with the data store (think “database” or “file system”) https://developer.wordpress.org/rest-api/. and we need to use a scan of htmlHTML HTML is an acronym for Hyper Text Markup Language. It is a markup language that is used in the development of web pages and websites. and fill forms to automatize.

Repo: https://github.com/Mte90/BulkRejectGP