mazinsw / nsMySQL

NSIS MySQL execute SQL command from NSIS installer with unicode and x64 support
MIT License
3 stars 0 forks source link

Languages? #1

Open Bizarrus opened 6 years ago

Bizarrus commented 6 years ago

How to change the language?

mazinsw commented 6 years ago

Only Portuguese language are supported, but you can translate the forms and string to your language and recompile the project.

Bizarrus commented 6 years ago

Can you tell me, which ide you had used for development? Visual Studio 2017 has no Delphi support...

Bizarrus commented 6 years ago

I had installed yesterday RAD Studio EX8. Can you explain, how i can build the project?

RAD can't locate the usages like ~Windows~ (Was fixed, because PLATFORM variable was empty), chsdIntf, nsCore, ZConnection or other. Which depencies has the plugin?

mazinsw commented 6 years ago

Go to Project, Options, "Delphi Compiler" and add these "Unit scope names": System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;System;Xml;Data;Datasnap;Web;Soap;Winapi

Try to compile again, after compiling. Change the follow files to translate: nsMySQL.dpr and UFrmConn.pas (Form)

Bizarrus commented 6 years ago

The references are updated and fixed. But UnicodeUtils has errors.

aaaaa [...] aaa

mazinsw commented 6 years ago

Install this dependency: https://github.com/cooljeanius/doublecmd/tree/master/components/chsdet This package allow loading UTF-8 or Any encoding SQL file