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 Quote
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/ Quote
dvhost Posted February 4, 2015 Report Posted February 4, 2015 +1 Thank you, this feature would be AWESOME! Quote
sktan Posted September 16, 2015 Report Posted September 16, 2015 Is it possible yet to do this? Blesta Addons 1 Quote
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. Quote
Michael Posted September 19, 2015 Report Posted September 19, 2015 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); } Quote
Blesta Addons Posted September 19, 2015 Report Posted September 19, 2015 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 Quote
Michael Posted September 19, 2015 Report Posted September 19, 2015 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. Quote
sktan Posted September 20, 2015 Report Posted September 20, 2015 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). Quote
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 activa and Michael 2 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.