Web Translator simple program

NeoBook tips, tricks, code samples and more...

Moderator: Neosoft Support

Locked
User avatar
Leos
Posts: 178
Joined: Mon Apr 04, 2005 11:13 am
Location: Coimbra, Portugal
Contact:

Web Translator simple program

Post by Leos »

Hi,
I made this little program to try to help implement multilingual software.
The program's itself is in multilingual version, so you can see in the source code my aproach to this theme (it's a nice task :-) ).
It uses Google Translator.

Source code posted, and all files are included too.
Note: the code isn't 'clean', it's made by me to me, and i have a lote of experimental procedures in it.
Try it at your's own risk.


Suggestions will be appreciated.

Greetings.


Link to the program:

https://drive.google.com/file/d/0B3UCVf ... sp=sharing

Link to Source Code:

https://drive.google.com/file/d/0B3UCVf ... sp=sharing

.
Image

...............................................
Fiz este pequeno programa para tentar ajudar na implementação de software multilingue.
Aproveitei e transformei também o próprio programa em versão multilingue.
Usa o Google Translator.

Assim que eu tiver a versão concluída colocarei o código original.

Sugestões serão apreciadas.

Cumprimentos.
Last edited by Leos on Wed Dec 18, 2013 1:04 pm, edited 2 times in total.
Neosoft Support
NeoSoft Team
Posts: 5628
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA
Contact:

Re: Web Translator simple program

Post by Neosoft Support »

Neat! Thank you for sharing it with us.
NeoSoft Support
User avatar
Leos
Posts: 178
Joined: Mon Apr 04, 2005 11:13 am
Location: Coimbra, Portugal
Contact:

Re: Web Translator simple program

Post by Leos »

Added source code, that it includes all the files.
User avatar
ebear
Posts: 270
Joined: Wed Jan 18, 2012 3:12 am
Location: Vrchlabi - Czech republic
Contact:

Re: Web Translator simple program

Post by ebear »

Thanks a lot for sharing.

Eric
http://www.lunarsoftware.eu - Lunar Software ERP database Development. Manufacturing processes, Document management, QMS, Stock management. Standalone solutions or connected to Helios Orange and other ERP systems.
User avatar
Leos
Posts: 178
Joined: Mon Apr 04, 2005 11:13 am
Location: Coimbra, Portugal
Contact:

Re: Web Translator simple program

Post by Leos »

updated! (program and the source code)

Added a button to Czech language (hi Eric! )
... but until neobook becomes 'unicode'... :(
User avatar
ebear
Posts: 270
Joined: Wed Jan 18, 2012 3:12 am
Location: Vrchlabi - Czech republic
Contact:

Re: Web Translator simple program

Post by ebear »

Leos wrote:updated! (program and the source code)

Added a button to Czech language (hi Eric! )
... but until neobook becomes 'unicode'... :(
Unicode or not I don't have any problems, its mainly in the PC language settings. All my software is multi language CZ - EN.

Eric
http://www.lunarsoftware.eu - Lunar Software ERP database Development. Manufacturing processes, Document management, QMS, Stock management. Standalone solutions or connected to Helios Orange and other ERP systems.
User avatar
Leos
Posts: 178
Joined: Mon Apr 04, 2005 11:13 am
Location: Coimbra, Portugal
Contact:

Re: Web Translator simple program

Post by Leos »

Not problem with Czech language, but with russian, greek etc...

for that, the "SaveVariables" must save the file encoding in unicode (not ansi)...
The problem is that "LoadVariables" command only reads ansi code

Even in this case (ansi) i have o lot of problems if i use non lower asci characters, like 'ç' 'ó' in the name of the variables...
User avatar
ebear
Posts: 270
Joined: Wed Jan 18, 2012 3:12 am
Location: Vrchlabi - Czech republic
Contact:

Re: Web Translator simple program

Post by ebear »

Hello,

Yep I already heard a lot about this. How are you going around this????

Thanks and regards,

Eric
http://www.lunarsoftware.eu - Lunar Software ERP database Development. Manufacturing processes, Document management, QMS, Stock management. Standalone solutions or connected to Helios Orange and other ERP systems.
User avatar
Leos
Posts: 178
Joined: Mon Apr 04, 2005 11:13 am
Location: Coimbra, Portugal
Contact:

Re: Web Translator simple program

Post by Leos »

Eric,
.... How are you going around this????
I have no idea...

Maybe wait for the next version of NeoBook?
In any way, this is an important point ...

Best regards to you, too
Locked