• What's the best way of handling translating?
    1 replies, posted
I'm curious of ideas for the best ways to handle trying to translate your addon to another language, What I mean is how to go about it , like is it basically down to going to google translate and having a table for all your text and then converted versions or is there a way you can make a translation function to change based on what you're text is, I've seen a post (Gmod Translation) that essentially did automated translations through the chat hook (it used google translates api) but i'm curious about everyone's ideas according to the matter at hand. Any guidance would be appreciated!
If your addon uses constant strings, you should create tables of strings for each language and have a function that returns a translated result for some constant key based on the user's language setting.
Sorry, you need to Log In to post a reply to this thread.