Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

New Feature : Localisation that stays…

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Tweaks › New Feature : Localisation that stays…

Tagged: updates, upgrading, Version Control

  • This topic has 3 replies, 3 voices, and was last updated 12 years, 2 months ago by admin.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • December 16, 2012 at 8:36 pm #8171
    znax
    Member

    Hi all

    I’d like to have the possibility to add my own location without having it removed at the next update.

    I’d like to propose the simple defined PHP function.

    In each plugin, the “define” lines could be written like this :

    if (!defined(‘EMEMBER_REMEMBER_ME’)) define(“EMEMBER_REMEMBER_ME”, “Garder en mémoire”);

    This way, I can include my own language file (in wp-config.php) and have my own language used, and the default constant if I didn’t define the line, or if a new line is added.

    Maybe a cleaner way could be use, but this could be very quick

    Thx

    December 17, 2012 at 10:53 pm #52460
    admin
    Keymaster

    We recommend the following:

    – Keep a backup copy of your language file (after you have customized it).

    – Update the plugin as usual

    – Override the language file with your one

    We could look into adding an option where you can specify a custom language directory (where your language files are at).

    December 18, 2012 at 1:18 am #52461
    wzp
    Moderator

    Related thread…

    https://support.tipsandtricks-hq.com/forums/topic/upgrading-the-plugin-what-exactly-will-be-lost

    February 23, 2013 at 1:12 am #52462
    admin
    Keymaster

    We have created a little addon for this.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ