Assume the use case where a user has a project with many existing strings and wants to find places they may have missed while translating. A debug option to help with this would be useful.
With the pseudo option for the init() function, any translation text will be replaced with a string of random characters, 30-40% longer than the original text, surrounded by brackets. For example, with pseudo enabled, hello world world render as [zgnytsadflf frgtqsdfkl;sdfkjl]. This also helps you see if the text would be cut off in languages with longer text, by checking the brackets.
Assume the use case where a user has a project with many existing strings and wants to find places they may have missed while translating. A debug option to help with this would be useful.
With the
pseudo
option for theinit()
function, any translation text will be replaced with a string of random characters, 30-40% longer than the original text, surrounded by brackets. For example, withpseudo
enabled,hello world
world render as[zgnytsadflf frgtqsdfkl;sdfkjl]
. This also helps you see if the text would be cut off in languages with longer text, by checking the brackets.