hi I am having some problems with the Drupal t or Drupal.t('') for JavaScript function, is it possible to make the t function not case sensitive in Drupal example: if I do this
echo t('ABC');
or
echo t('abc');
can I make them both give the same result; for English the result would be
ABC
or
abc
and for other languages both will give only on result, example:
ابت
'ABC' and 'abc' are different strings for t().I dont think its possible through t() , maybe you should prepare your strings with PHP formatting/casing before inserting to t()
Here are the string functions you need
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.