We are building a multilingual Drupal stack, and one of the problems is that our payment process will have to send us some information. We were able to narrow it down so that the lines they sent back looked like
<country code>-<number of months>
therefore, we can easily translate this into any number of languages other than English.
t('FR-12')all is well and good if we want to translate this into a French description, but since there is no English, a similar string, for example t('EN-12'), cannot be translatable.
Similarly for a common line: #API_Connection_Error
This general string approach seemed really attractive to me, but it didn't seem to work in Drupal. Do you have any suggestions on how to translate common strings like this into English and other languages?
Thanks, I've been browsing Google all morning.
source
share