Support » Plugin: Say what? » Replace strings in just 3 convoluted steps!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Lee Willis

    (@leewillis77)

    Hi;

    Thanks for taking the time to leave a review. Although of course sorry to hear that you weren’t able to use it as easily as you’d hoped.

    I did just want to ask what you meant by “a fun challenge in guessing how the explanation differs from the latest version of the plugin” – as the support articles should be pretty up to date bar a few styling changes. If you’ve got 2 minutes to let me know the differences you’d found hopefully we can get things improved for others in the future (if not – totally understand!)

    All the best

    Based on the creators interest in my review and desire to improve his system, I’ve upgraded my review to two stars. Perhaps its better still than I realize.

    In answer to the above question: In Step 3, the image shows “Original String”, “Domain” and “Replacement String”. The text there doesn’t explain (at least not to my satisfaction) what these are or where to find your own. In my installation of the plugin (March 12, 2018) there were actually 4 fields – making it impossible for me to easily translate the example given, with 3 fields, to my own unique environment.

    I suspect that this plugin could be vastly improved with a bit more intuitive instructions. I probably won’t ever found out because instead of learning about this plugin, I found it faster to create a child theme with a folder structure for the language files and then manually edit the php files, hard coding my strings to the copy I prefer. For anyone with similar intentions, consider that in your .po file, there typically is an annotation above your string that lists the file and line of the message string. (Child themes are important to prevent your changes from being lost during updates.)

    Good luck.

    Plugin Author Lee Willis

    (@leewillis77)

    Hi;

    Thanks (again) for taking time to provide more feedback.

    The three fields should be explained in Step 2 of that article – but we can certainly review that text to see if we can make it clearer.

    The “Context” field is covered in this article (https://plugins.leewillis.co.uk/doc_post/replacing-wordpress-strings-context/) which should be linked to by the help icon next to the field.

    Sometimes plugin authors use strings without context (in which case you just need 3 fields), sometimes they have context, and need all four.

    Pro would definitely help you find those, but appreciate you’ve got a solution that works for you now.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Replace strings in just 3 convoluted steps!’ is closed to new replies.