Theming for specific language

Events happening in the community are now at Drupal community events on www.drupal.org.
Anonymous's picture

Is there a way to automatically wrap all "translated" text with html tags? For example, the font for dz (Dzongkha/Tibetan) is really quite small compared to western fonts due to the possible height of characters in the language. It would be very useful to take any text and wrap it with tags so that I could then institute text formatting with a stylesheet, while not disturbing and western text that may be untranslated.

Comments

Not as standard, but feasible

andy inman's picture

You could put it in as a feature request, either to Drupal core team or the i8n team.

As a custom module it I don't think it could be done easily in Drupal 5 without a patch to the t() function, but with such a patch it would be fairly straightforward - since all translated text goes through t() you have a single-point in the system to add the functionality you need. In Drupal 6, it may be possible to do it without such a patch, I couldn't be sure without investigating.



Currently part of the team at https://lastcallmedia.com in a senior Drupal specialist role.

Translations

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: