TheCartPress eCommerce Shopping Cart
My customized language file has been over-written by (5 posts)

  1. Gemma Wild
    Posted 3 years ago #

    My customized language file has been over-written by update!

    I’m really cross about this, I spent ages correcting grammar and wording things in a user-friendly, clear way only for my customized language file to be over-written upon update!

    How are we supposed to assign our own language files to this plugin when there are no options to do so and it uses the default language that WordPress was installed on? Everytime there is an update, any changes will be over-written.

    * I've posted this here as well as I did not receive any response to it on the developers forums and I hope someone here may have the answer.


  2. OC2PS
    Posted 3 years ago #

    Unfortunately, this has to do with the way WordPress does plugin updates. Instead of simply overwriting, WP first erases and then writes.

    One option is to use glotpress - the plugin author will have to consider that. The other option is for you to submit the language file you created to the plugin author so that he can include that in the next release of the plugin.

    Unfortunately, both of these options pretty much preclude a personalized, quirky, or thematic approach to translations. And that is a shame.

  3. Gemma Wild
    Posted 3 years ago #

    Thanks for your reply OC2PS.

    Hmm, that's very strange to hear as another plugin called eshop has the functionality where you can create your own language files and store them within your WordPress theme folder. For example, if your WP install is in the default en_US language, you would create a .po & .mo file named eshop-en_US and place it in your theme folder. That way when the plugin gets updated, your language file is safe. And the plugin somehow picks up your customized language file from your theme folder. Result!

    I need to know how to do that. I don't want to have to keep re-uploading my customized language file every single time there is an update.

  4. OC2PS
    Posted 3 years ago #

    Yeah, bbPress does that as well - it stores the language files in /wp-content/languages/bbpress

    But this is against WordPress's standard guidelines for plugins. Plugins are supposed to be self-contained, and ship with language files. Newer releases are supposed to update the language files as well.

    I suppose they never thought about custom translations.

  5. Inigo Gonzalez
    Plugin Author

    Posted 3 years ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic