Hi,
I'm writing an action to post some data to a payment processer.
Now, my question is how to translate my configuration fields.
The fields have labels like: 'label' => l_('IDEAL_ACQUIRER') , now I could add the translations to the corresponding "Lang" class, but I was wondering if there is a more generic solution to this issue.
How can I create the language files that belong to my action? (are the loaded automatically?) .
Paul
I'm writing an action to post some data to a payment processer.
Now, my question is how to translate my configuration fields.
The fields have labels like: 'label' => l_('IDEAL_ACQUIRER') , now I could add the translations to the corresponding "Lang" class, but I was wondering if there is a more generic solution to this issue.
How can I create the language files that belong to my action? (are the loaded automatically?) .
Paul
Hi Paul,
There is no solution to this issue at the moment but its on the todo list!
So for now, you should just hardcode the text in the action file, and later you can move it to a lang file!
Regards,
Max
There is no solution to this issue at the moment but its on the todo list!
So for now, you should just hardcode the text in the action file, and later you can move it to a lang file!
Regards,
Max
No problems!
If you want to publish your action later, then we can link to your web page!🙂
Regards,
Max
If you want to publish your action later, then we can link to your web page!🙂
Regards,
Max
This topic is locked and no more replies can be posted.
