{number1} sometimes auto-translates when auto-localization is enabled, I’m unsure what causes it to only sometimes translate. {number1} is not a string that appears anywhere in my studio project, so I suspect it is a feature of Roblox’s game compilation and/or auto-localization.
Occurs in my game 🏹 Boxed Evolution 🚀 - Roblox
Has been occurring for at least a month, likely not long after auto-localization was enabled. 5/31 was the day with the most warnings in my error report: 40,276
Demonstrating a string which translated the {number1} placeholder tag
Demonstrating a string which properly translated, excluding the placeholder tag
All of my warning & errors, I do not know how to reproduce this locally so I’m unsure how it appears in-game, or if it actually affects the formatting for the end user
Happens frequently in this segment of a server script, when setting .Text
–Display run record
if playerData[player.UserId … “”][“Record”] > 0 and playerData[player.UserId … “”][“Record”] < 2200 then
local s = game.Workspace:FindFirstChild(“Sign-” … player.UserId)
if s == nil and playerData[player.UserId … “”] ~= nil then
s = ss:FindFirstChild(“Sign” … playerData[player.UserId … “”][“EndStage”])
if s ~= nil then
local s2 = s:Clone()
s2.Name = “Sign-” … player.UserId
s2.Parent = game.Workspace
end
end
if s then
s.LeftSign.SurfaceGui.TextLabel.Text = player.DisplayName … ": " … math.floor(playerData[player.UserId … “”][“Record”])
s.RightSign.SurfaceGui.TextLabel.Text = player.DisplayName … ": " … math.floor(playerData[player.UserId … “”][“Record”])
s:SetPrimaryPartCFrame(CFrame.new(Vector3.new(playerData[player.UserId … “”][“Record”], s.PrimaryPart.Position.Y, 0), Vector3.new(0, s.PrimaryPart.Position.Y, 0)))
end
end
I do not think my system information is relevant for this bug report, but I run Windows 10; let me know if you need any more info.
Expected behavior
I expect any placeholders to not get translated, and to not get flooded with warnings/errors about this.