I'd like to be able to alter UC's standard messages, attached patch does this.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | translate_ca_mesages-1488712-5.patch | 805 bytes | marthinal |
| uc_store.patch | 352 bytes | killes@www.drop.org |
I'd like to be able to alter UC's standard messages, attached patch does this.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | translate_ca_mesages-1488712-5.patch | 805 bytes | marthinal |
| uc_store.patch | 352 bytes | killes@www.drop.org |
Comments
Comment #1
longwaveSimple patch, looks good and sounds useful to me.
Comment #2
longwaveAny reason why hasn't been committed?
Comment #3
tr commentedCommitted. Thanks.
Comment #5
marthinal commentedThe patch from @killes works fine.
In my case the problem was with uc_roles messages in the ca becauses I needed to traslate also.
After trying to translate like global i18n_variable and using the translate UI was imposible.
So my workaround to fix this and to translate messages from the UI was create this patch.
If you create a suscription with your role for about 1 day the system sends you the reminder email.you need to do this one time before go to the UI translate.(I explain maybe anyone doent know it and is reading this post).
ok now if you go to the UI translate you can translate the message with no problem and also if the user profile preferred language is spanish he will recieve the email in spanish.
Patch added and I think maybe this is not the way but I didnt understand the actually proccess to do this and also ...it doesnt work what we have actually.
Comment #7
longwaveYou are not allowed to pass dynamic strings to t() like that, see the API documentation for more information.
Please open a new issue as translating these messages is a separate feature request.