Page 1 of 1

Re: Multi-Language

Posted: Wed Apr 17, 2013 12:08 pm
by ts-soft
Thx for sharing :D

I haven't test it, but i have some hints for you:

For a includefile like this, you should add a prefix for all Global Variables, List, Maps and for all Procedures.
I think, i have used some of your names in many of my projects and this requires some changing in my
or in your code. A prefix would solve this in most cases.

Greetings - Thomas

Re: Multi-Language

Posted: Wed Apr 17, 2013 4:16 pm
by Fred
You could also check this post from freak: it is the solution used by the IDE and other PB tools and it proved to be small, very flexible and efficient: http://www.purebasic.fr/english/viewtop ... t=language

Re: Multi-Language

Posted: Thu Apr 18, 2013 3:02 am
by Nituvious
I have a system similar to the OP's trick. However I read from text files inside of language folders that way users can translate to their own language if it's not already provided.