我用drupal.i制作了一个支付方法模型。我使用drupal_set_message(t('An error occurred and processing did not complete.'), 'error');
可以在我的模型中使此消息多语种吗?
发布于 2020-07-13 17:44:09
当使用此标记t
时,您可以通过->regional> translate将原始语言的文本翻译成其他语言。
https://stackoverflow.com/questions/62838265
复制