I have developed a module. All the UI-texts of the module are produced using t() function. But I wonder if this is enough for the other to translate it easily? Or I should add something else? Because I see no place for translation files or similar operations. If t() is enough, then HOW one can translate it easily?
Thanks

Comments

Ayesh’s picture

When you have translation modules enabled, Drupal stores the strong as it needs translation at the first time it sees the t() call (Drupal does not scan your files).

Then, you can translate them from the translation UI module. For contribute modules, use the drupal.org localization site so other sites can download them from that server.

You can also provide translations for specific languages in .po files.