Stele - Development

Components
HomeHow Stele Works
How To
LicenseTechdebt

How do you know if a message is translated?

Knowing if a message is translated can be difficult without some specially built tools to handle it. Fortunately Stele has a built in mode to help developers spot untranslated messages. In your .babelrc, you will want your config for stele to look something like this:

[
"@patreon/stele/dist/plugin",
{
"developmentLanguage": true,
"replace": true
}
]

Once that is configured then strings you format should start to show up in new ways. For now it converts strings like so:

Before developer language

Hi there

After developer language

[Ȟ͎ȋ̻ t̛͖h̺͏e̴̲r͔͂e̴̲]

It's then easy to tell which is translated

[T̜ͤr͔͂a̡͛n͉͢s̓̕l͇͒a̡͛t̛͖e̴̲d̨̍]

Untranslated

© Patreon