Skip to main content

Check Rust plugin message placeholders after an update

A language file can load successfully while a message shows a placeholder or puts values in the wrong order. Use a small action with known values in two supported languages and read what each tester actually sees.

Choose a message whose values are easy to check

For example, a test shop message tells a player how many points remain after a purchase. Use a private world with test balances. Find the entry the current plugin version registers, then compare the same entry in the default language file and your translated file. Oxide stores its default language files under oxide/lang, with a folder for each language.

Keep every placeholder the new version expects. A token such as {0} is part of the plugin's formatting. Find what it stands for in the author's documentation or current example before moving it in a sentence. If the new defaults add or change a token, update the translated entry to match the new inputs.

Observe two languages and two values

Have each tester select a locale as supported by the plugin or framework. Keep other permissions and actions the same.

Observe two languages and two values
TryExpected output
Default language with the known test balanceThe right amount in the expected message, with no unfilled token.
Translated language with the same test valuesThe intended translation and the same correct amount.
One more action with a different valueThe text changes only where the new amount belongs. A named placeholder still refers to the expected field.
Restart and repeat one translated actionThe correct language and values appear again.

Keep the failing line usable

If you get the default language, check how the version chooses a language and whether it found your file and key. If a token appears literally, compare the entry against the current version. Send the maintainer the message key, the two results and the synthetic input values if you need help.

Sources

Analytics settings

Analytics are off.

Help improve RustSC with page counts and performance measurements. Privacy details