btw your video about the GetString constants is not correct! It works but is not the best way to do it!!!
Instead of copy&paste the strings into your fr.lua file and using ZO_CreateStringId again, which will recreate the same constant:
You just need to reuse the already created stringIds (from your en.lua via ZO_CreateStringId) and ONLY add a new version 2 with the new text via function:
Code:
SafeAddString(stringId, text, version+1)
Lua Code:
--en.lua--
for stringId, stringValue in pairs(strings) do
ZO_CreateStringId(stringId, stringValue)
SafeAddVersion(stringId, 1)
end
--de.lua / fr.lua / es.lua / ru.lua / zh.lua / jp.lua / ...--
for stringId, stringValue in pairs(strings) do
SafeAddString(_G[stringId], stringValue , 2)
end