8/14/2023 0 Comments Poedit plugin wordpress![]() Is it safe to remove strings I've accidentally scanned in (plugins and themes) and have no intention of changing/adding their translations?Ģ. So I'm afraid that you cannot get rid of this plugin.ġ. The Gravity Forms Multilingual, String Translation, and all the other WPML plugins are needed to make Gravity Forms work fine with WPML. The Gravity Forms plugin has a custom way of creating each form and it's not enough just simply create some PO/MO files. So what you're telling me is that GF-WPML integration requires their strings to remain here? I can't export them (the individual form domains) to a PO/MO file and have them be accessed via file? However, our optimization consultant suggested that having over 20,000 records in the database (most largely left unchanged) was slowing down our site, so what we're attempting to do is remove all of the entries we have no intention of changing. With regards to getting rid of the plugin: I was under the impression its purpose was to allow easy editing of translations by "scanning" themes and plugins for gettext uses. I'm adding the PO/MO of an exported text domain performed with String Translation, though, so it's including strings found in both our theme and in a custom plugin that we wrote solely for that theme. This is the best option to use if you want to delete strings from WPML → String Translation area. In this case, String Translation is needed in order to have it working with WPML:Īs for deleting the strings, I'm afraid that there's no option to delete more than 100 strings at a time. Just as an example, I can see that you're using Gravity Forms. This plugin is used for more than static strings. This is the way that WordPress works.Īlso, getting rid of the String Translation plugin is not a good idea. ![]() Question - wouldn't this just load the entries back into String Translation as database entries? Our intention here is to get rid of String Translation entirely as we've been informed that it is slower to work with than simply having WP load the MO files - hence why we're wondering where those need to go to be recognized.Īlong with that, is there a quicker way to remove 1000s of String Translation entries (ones we never intend to translate and added by accident by scanning more plugins/themes than we needed), other than picking 100 at a time from the list screen? Is there a SQL query that accomplishes this?Īs far as I know, the PO/MO files need to be added to wp-conntent/languages/plugins (or themes, if you add PO/MO of a theme). Just simply choose the PO file and the text domain. ![]() Just simply go to WPML → String Translation, scroll down to the bottom of the page, and check the right side, the Import / export. There's a simple way to import the PO files. Thank you for reaching out to the WPML support! ![]() We've tried /wp-content/languages/wpml as that's where the text domain we exported (hope_industrial) seemed to have its initial MO file, but I'm not sure that's where edited/updated imports go. We made sure those strings were correct within each file and saved (updating/creating MO files) but we're not sure where in the WP directory structure they ought to be re-placed in order to be picked up by the translation routines. We were informed by an optimization consultant that having thousands of untranslated entries in the String Translation table might be causing severe slowdown so we took just the strings we were interested in translating and exported them to PO files (for 7 langs) and removed most/all of the String Translation strings as we're no longer interested in having them be admin-editable we're fine making PO/MO updates instead. Last updated by Radu 1 year, 11 months ago. This topic contains 8 replies, has 2 voices.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |