multilingual application, how would you have done?

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

User avatar
dragancesu
Posts: 921
Joined: Mon Jun 24, 2013 11:53 am
DBs Used: DBF, MySQL, Oracle
Location: Subotica, Serbia

multilingual application, how would you have done?

Post by dragancesu »

I started to make a part that will allow the application displays multiple languages​​, the one that the user selects

The question is what to translate? Strings in the program? it is the text on the screen, menu, label, etc.

Is this good thinking?

I've created a routine that takes out all the strings from the program but I do not believe that the choice of words / phrases for translation can be automated
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: multilingual application, how would you have done?

Post by Rathinagiri »

I think HMG-IDE model is good and we can also follow the same.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Re: multilingual application, how would you have done?

Post by Pablo César »

Rathinagiri wrote:I think HMG-IDE model is good and we can also follow the same.
Yes, is the same that I applied to STRU app.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Javier Tovar
Posts: 1275
Joined: Tue Sep 03, 2013 4:22 am
Location: Tecámac, México

Re: multilingual application, how would you have done?

Post by Javier Tovar »

Hola dragancesu,


En mi opinión, por ejemplo si tu todo lo programas en Español y si el usuario lo quiere en ingles, entonces todas las pantallas se muestran en ingles:

Menus, Pantallas, Browse, etc. A lo mejor no es el cambio instantáneo y tiene que abrir de nuevo la aplicación (pero sólo una vez!).


Saludos

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Hello dragancesu,


In my opinion, for example if your all programs in Spanish and whether you want it in English, then all screens are displayed in English:

Menus, screens, Browse, etc. Maybe it is not the instantaneous change and have to open the application again (but only once!).


greetings
User avatar
apais
Posts: 440
Joined: Fri Aug 01, 2008 6:03 pm
DBs Used: DBF
Location: uruguay
Contact:

Re: multilingual application, how would you have done?

Post by apais »

search for hbi18n on changelog ...
good luck !
Angel Pais
Web Apps consultant/architect/developer.
User avatar
dragancesu
Posts: 921
Joined: Mon Jun 24, 2013 11:53 am
DBs Used: DBF, MySQL, Oracle
Location: Subotica, Serbia

Re: multilingual application, how would you have done?

Post by dragancesu »

I've decided, but I have a problem, is it possible to MAIN WINDOW or MAIN MENU and shown again, like Refresh but this option does not?
Javier Tovar
Posts: 1275
Joined: Tue Sep 03, 2013 4:22 am
Location: Tecámac, México

Re: multilingual application, how would you have done?

Post by Javier Tovar »

Hi there,

You have to do the Refresh but each of the controls to make changes!

greetings
User avatar
dragancesu
Posts: 921
Joined: Mon Jun 24, 2013 11:53 am
DBs Used: DBF, MySQL, Oracle
Location: Subotica, Serbia

Re: multilingual application, how would you have done?

Post by dragancesu »

I understand, but how do Refresh of control MAIN MENU?

Code: Select all

      DEFINE MAIN MENU

         DEFINE POPUP google(2,_lang)
            MENUITEM  google(3,_lang)        ACTION edit_cost()
            MENUITEM  google(4,_lang)        ACTION edit_payment()
            SEPARATOR 
            MENUITEM  google(5,_lang)        ACTION edit_cost_pay()
            SEPARATOR 
            MENUITEM  google(6,_lang)        ACTION MainForm.Release
         END POPUP 

         DEFINE POPUP google(7,_lang)
            MENUITEM  google(8,_lang)        ACTION report_a()
            MENUITEM  google(9,_lang)        ACTION report_b()
         END POPUP 

         DEFINE POPUP google(10,_lang)
            MENUITEM  google(11,_lang)       ACTION tools_options()
         END POPUP 
         
      END MENU
Function returns a value, but it does not refreshes

This works on modal screens, the MAIN is not working, how to refresh? Not a good decision to leave the program and start again

Program is finish, I will upload soon
User avatar
dragancesu
Posts: 921
Joined: Mon Jun 24, 2013 11:53 am
DBs Used: DBF, MySQL, Oracle
Location: Subotica, Serbia

Re: multilingual application, how would you have done?

Post by dragancesu »

Hello everyone,

I finally got the program to display menus and other multi-language, for start 3

Google translate is and some translations are probably not good if you have a better translation can not write or enter in the table DICT.dbf and put it here

test.zip the program, home budget, and you have the option of showing you in English, Serbian and Spanish

If you like this, than I will upload program to help make translation
Attachments
DICT.zip
(1.56 KiB) Downloaded 171 times
demo.ZIP
(1.04 MiB) Downloaded 193 times
User avatar
danielmaximiliano
Posts: 2612
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: multilingual application, how would you have done?

Post by danielmaximiliano »

Miy linda aplicacion Dragan.. gracias por compartir..

Very cute Dragan application .. thanks for sharing ..
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Post Reply