Localization in Unreal

.po files are Source Text to Target Language files that have the source file of the text, a unique identifier for the text (Namespace,UniqueID), and the source text and target text themselves.

E.g.:

// A Spanish .po file entry
#. Key:	3AEF631244B0A95F6C7D5E96B27FF2E3
#. SourceLocation:
#. /Game/Core/.../D_CU_AttackSpeed.D_CU_AttackSpeed.DisplayData.DisplayName
#: /Game/Core/.../D_CU_AttackSpeed.D_CU_AttackSpeed.DisplayData.DisplayName
msgctxt ",3AEF631244B0A95F6C7D5E96B27FF2E3"
msgid "Attack Speed"
msgstr "Velocidad de ataque"

Normally, you’d edit these in a dedicated .po editor per translation, and let the localization team do edits and recommendations there.

However, if you’re a small team, or have someone that can do multiple translations at once, or just want to at-a-glance see all the translations across languages, you may want to use a Google Sheet and have .po import/exporting through there!

image.png

Screenshot 2025-07-28 114840.png

Grammar Plurality Considerations

For translating things that have different amounts (e.g., 0 coins, 1 coin, 22 coins), the languages you translate to may have different grammar plurality rules (see below).

MessagesFormat and CLDR (Common Locale Data Repository)

https://lingohub.com/blog/pluralization#solving-the-p11n-puzzle

For those rules, it’s useful to have a format string syntax you can localize like so (which is also easy to view in the Python/.po workflow I mention later in this page):

{0} {1}|plural(one=Coin,other=Coins)
// {0} <-- the amount of coin goes here
// {1} <-- the pluralized word goes here
// Any text outside of the {0} & {1} remains where it is (e.g., amount value characters in ja/ko)
Resource en es de fr ja ko pt-BR ru
Coin `{0} {1} plural(one=Coin,other=Coins)` `{0} {1} plural(one=Moneda,other=Monedas)` `{0} {1} plural(one=Münze,other=Münzen)` `{0} {1} plural(one=Pièce de monnaie,other=Pièces de monnaie)`

Google Sheets Automation (Required)

See the linked documentation to get Google Cloud setup to allow for API calls to Google Drive for Google Sheet automation: