a.daniello Posted February 3, 2015 Report Posted February 3, 2015 As we discussed in http://www.blesta.co...standard-label/ and in http://www.blesta.com/forums/index.php?/topic/4060-translation-of-gateway-name, there's a small improvement that can be useful: allow for a separate, translatable, name/description to be used rather than the gateway name So we can use a custom name for the gateway in order and/or pay form. Thanks
Blesta Addons Posted February 3, 2015 Report Posted February 3, 2015 +1 for this . another related thread http://www.blesta.com/forums/index.php?/topic/3782-blesta-is-multi-languages/
dvhost Posted February 4, 2015 Report Posted February 4, 2015 +1 Thank you, this feature would be AWESOME!
sktan Posted September 16, 2015 Report Posted September 16, 2015 Is it possible yet to do this? Blesta Addons 1
Fantasma Posted September 19, 2015 Report Posted September 19, 2015 No... Have to edit the names directly in the database by brand/company with no support for multi-languages or language switching.
Michael Posted September 19, 2015 Report Posted September 19, 2015 On 9/16/2015 at 6:16 AM, sktan said: Is it possible yet to do this? The way to do this is set the name via the language files and then just put the name in each language but hey "let's all say no". Example: /** * Returns the name of this plugin * * @return string The common name of this plugin */ public function getName() { return Language::_("SharedLoginPlugin.name", true); }
Blesta Addons Posted September 19, 2015 Report Posted September 19, 2015 On 9/19/2015 at 4:05 PM, Licensecart said: The way to do this is set the name via the language files and then just put the name in each language but hey "let's all say no". Example: /** * Returns the name of this plugin * * @return string The common name of this plugin */ public function getName() { return Language::_("SharedLoginPlugin.name", true); } after gateway installation , the gateway name has no relation with languages files . so edit delete has no impact of the displayed name . the only solution i see now is to hack gateway-manager.php model , to make it fetch the name from file and not from database . is not so hard , i will share my solution in the next minutes . Michael, a.daniello and activa 3
Michael Posted September 19, 2015 Report Posted September 19, 2015 On 9/19/2015 at 10:38 PM, naja7host said: after gateway installation , the gateway name has no relation with languages files . so edit delete has no impact of the displayed name . the only solution i see now is to hack gateway-manager.php model , to make it fetch the name from file and not from database . is not so hard , i will share my solution in the next minutes . Ah never knew that.
sktan Posted September 20, 2015 Report Posted September 20, 2015 On 9/19/2015 at 4:05 PM, Licensecart said: The way to do this is set the name via the language files and then just put the name in each language but hey "let's all say no". Example: /** * Returns the name of this plugin * * @return string The common name of this plugin */ public function getName() { return Language::_("SharedLoginPlugin.name", true); } I think I tried that and also forced a gateway upgrade by changing the version number, but the gateway name showed to clients is determined by what's stored on the database (which doesn't change).
Blesta Addons Posted September 20, 2015 Report Posted September 20, 2015 Check my solution here http://www.blesta.com/forums/index.php?/topic/5064-convert-gateways-names-to-multi-languages/#entry37739 Michael and activa 2
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now