James Posted January 15, 2007 Author Share Posted January 15, 2007 Oh, it would be a big file eventually but I have: English Spanish 1337 Norweigan Debug And it takes: 1kb Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
Helge Posted January 15, 2007 Share Posted January 15, 2007 @Secure_ICT : Sure, thing. I'm glad to help.@BALA : Size..well, yes, INI has it's limits, but I'm not sure where it is...I've done similar thingsbefore using INIs, but I've never reached any limit yet. Link to comment Share on other sites More sharing options...
BALA Posted January 15, 2007 Share Posted January 15, 2007 Oh! I misunderstood, I thought you were making it translate what the user types. Now that would be big! [font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com Link to comment Share on other sites More sharing options...
Danny35d Posted January 15, 2007 Share Posted January 15, 2007 Thats great! Now if I wanted to add more languages, I could just add it to the bottom of Languages.ini right? SecureAnother idea you can add an ini section and called [OSLang], then use macro @OSLang to get the OS language. Now when you application start using the OS Language as a default language or if you application don't have that language then use English as a default language. Example If you want to be sure never reach the ini file limit you can create a foler like Lang and inside the folder have one ini file per language. English.ini, Norwegian.ini, Spanish.ini, etc... AutoIt Scripts:NetPrinter - Network Printer UtilityRobocopyGUI - GUI interface for M$ robocopy command line Link to comment Share on other sites More sharing options...
James Posted January 15, 2007 Author Share Posted January 15, 2007 @Helge: Thankyou so much, you will have many credit to BetaPad. @Ba-La: No for 1kb with 5 languages sounds good to me. @Danny35d: That would get a bit long though, but would make it easier. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
Danny35d Posted January 16, 2007 Share Posted January 16, 2007 If this is for BetaPad you can use peethebee PowerTranslate. This tool will read your Betapad.au3 and replace all the Strings into variables and create an ini file for language. It will save you a lot of coding time.http://www.autoitscript.com/fileman/users/peethebee/ AutoIt Scripts:NetPrinter - Network Printer UtilityRobocopyGUI - GUI interface for M$ robocopy command line Link to comment Share on other sites More sharing options...
James Posted January 16, 2007 Author Share Posted January 16, 2007 Wow, that's useful. I will have to try it when I get home at 5pm I got college (its crap) Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
Groumphy Posted April 3, 2007 Share Posted April 3, 2007 Only a big thanks for you idea ! This topics 've me give à big help A+ Groumphy ----------------------GroumphyMore information about me [Fr] 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