HarryPPP Posted March 11, 2021 Share Posted March 11, 2021 So, I'm working on a translation mod and everything is working fine. The only problem I could find is that every option in the new world customization screen isn't translated, aswell as the presets and the options tabs, as you can see below: The code I have right now looks like this: local mainPOfilename = GetModConfigData("MODO") local selectedLanguage = "br" local STRINGS = GLOBAL.STRINGS LoadPOFile("scripts/languages/"..mainPOfilename, selectedLanguage) GLOBAL.TranslateStringTable( STRINGS ) Can anyone help? 1 Link to comment Share on other sites More sharing options...
cracamole Posted March 11, 2021 Share Posted March 11, 2021 good work Link to comment Share on other sites More sharing options...
Tranoze Posted March 12, 2021 Share Posted March 12, 2021 For some reason LoadPOFile wont work anymore because in translator.lua, this function use io.open, and io.open is bugged and cant load file. This is clearly a bug from klei side. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now