Adding international support to apps

How do I translate Twitter terminology into other languages?

If your audience speaks a language other than English, we recommend you use a localized UI. To help you do this, we’ve created glossary pages on our Translation Center:

Which languages are supported by embedded widgets?

Widgets are available in 28 of the languages supported by Twitter’s website and clients. The language is determined automatically from the page a widget is embedded upon: That is, an HTML lang attribute on the embed code element or an ancestor determines the language of the widget chrome. Ideally, you should mark-up the language of your page on the <html> element of your page, or the containing section where the language changes like so:

<html lang="fi"> ... </html>

Or, on multilingual pages:

<html lang="fi">
     ...
     <section lang="fi"> ... </section>
     ...
</html>

You can override the language of individual widgets using the same attribute:

<a class="twitter-tweet-button" href="https://twitter.com/share" lang="de" xml:lang="de">Tweet</a>

The languages presently supported by the widgets are: hi, zh-cn, fr, zh-tw, msa, fil, fi, sv, pl, ja, ko, de, it, pt, es, ru, id, tr, da, no, nl, hu, fa, ar, ur, he, th.

If an unsupported language variant is specified that isn’t supported, the widget will be rendered in the matching parent language: For example es-mx will be rendered as es. If a page’s language code does not match any supported translation, US English is the default.

Note that setting the language only affects the language of the widget, it does not translate the content of Tweets. Tweet text is always presented as originally authored.

You can help translate Twitter and Twitter for Websites widgets through the Translation Center.