How do you insert a whitespace string on the localization portal?

Hi,

Sorry if this isn’t the right section but this seems to be the best place.

So I’m looking to add support to number formatting but I’ve run into an issue where I need to translate a string from a comma to a space for thousands separators.

So for example in English we use commas like so: 1,000
But in French we use a space like so: 1 000

In the localization portal, you cannot enter just a space as it says it failed to save the translation so what do I do for that?

Type %s in place of the space that you want. %s is a placeholder for whitespace. Here is how you can see other placeholders: string | Roblox Creator Documentation

I hope this helps!

Thanks for that but that would still require me to call gsub on it, is there a way to just insert a blank space instead of using a placeholder?

Download the raw translation file by opening Roblox Studio and going to the Localization tab, and open it in Google Sheets or Excel (Google Sheets is free if you have a gmail account), and then place the space in the french column for the comma.

1 Like

I’ll have a look tomorrow. Thanks for your help!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.