Source language: Translate to:

Web Translator simple program

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

Moderator: Neosoft Support

Web Translator simple program

Postby Leos » Wed Dec 11, 2013 9:54 am

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/0B3UCVfJgfDohRGdyUEdtc1ZMeTg/edit?usp=sharing

Link to Source Code:

https://drive.google.com/file/d/0B3UCVfJgfDohMHlYZVVYZTh4ODg/edit?usp=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.
User avatar
Leos
 
Posts: 178
Joined: Mon Apr 04, 2005 11:13 am
Location: Coimbra, Portugal

Re: Web Translator simple program

Postby Neosoft Support » Wed Dec 11, 2013 11:15 am

Neat! Thank you for sharing it with us.
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5593
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Re: Web Translator simple program

Postby Leos » Thu Dec 12, 2013 9:41 am

Added source code, that it includes all the files.
User avatar
Leos
 
Posts: 178
Joined: Mon Apr 04, 2005 11:13 am
Location: Coimbra, Portugal

Re: Web Translator simple program

Postby ebear » Thu Dec 12, 2013 3:25 pm

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
ebear
 
Posts: 270
Joined: Wed Jan 18, 2012 3:12 am
Location: Vrchlabi - Czech republic

Re: Web Translator simple program

Postby Leos » Wed Dec 18, 2013 1:13 pm

updated! (program and the source code)

Added a button to Czech language (hi Eric! )
... but until neobook becomes 'unicode'... :(
User avatar
Leos
 
Posts: 178
Joined: Mon Apr 04, 2005 11:13 am
Location: Coimbra, Portugal

Re: Web Translator simple program

Postby ebear » Wed Dec 18, 2013 1:47 pm

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
ebear
 
Posts: 270
Joined: Wed Jan 18, 2012 3:12 am
Location: Vrchlabi - Czech republic

Re: Web Translator simple program

Postby Leos » Wed Dec 18, 2013 2:34 pm

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
Leos
 
Posts: 178
Joined: Mon Apr 04, 2005 11:13 am
Location: Coimbra, Portugal

Re: Web Translator simple program

Postby ebear » Wed Dec 18, 2013 2:37 pm

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
ebear
 
Posts: 270
Joined: Wed Jan 18, 2012 3:12 am
Location: Vrchlabi - Czech republic

Re: Web Translator simple program

Postby Leos » Wed Dec 18, 2013 3:04 pm

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
User avatar
Leos
 
Posts: 178
Joined: Mon Apr 04, 2005 11:13 am
Location: Coimbra, Portugal


Return to NeoBook Knowledgebase

Who is online

Users browsing this forum: No registered users and 2 guests

cron