Topic: LANGUAJE

Hi
Somebody knows how to convert the required field message from English to Spanish?

THANKS

Post's attachments

Attachment icon EN ESPA.png 18.79 kb, 230 downloads since 2017-10-11 

Re: LANGUAJE

Hello.


Please download latest beta version 3.7
https://www.dropbox.com/s/eef9rf7u08k63 … b.zip?dl=0


Now you can translate any messages to another language.

Translate('This_Field_is_required', 'your message');

you can call this function in an event OnShow of main form or between begin end in the bottom of script.


identifications for another messages

Open_report_designer
Your_computer_does_not_have_Excel
Entry_to_edit_is_no_selected
Unable_to_determine_the_record_ID
Please_select_record_in_grid
Report_file_not_found
Entry_to_be_deleted_is_not_selected
Are_you_sure_you_want_to_delete_the_record
The_database_file_is_not_found
Not_a_number
Are_you_sure_you_want_to_delete_the_image_from_the_database
There_is_no_file_to_save
Do_you_really_want_to_delete_the_file_from_the_database
Restart_the_program_to_apply_the_settings
This_Field_is_required
Not_permitted_to_use_ComboBox_for_saving_record
Saving_or_opening_file_from_database
Select_file_stored_in_database
Export_image_from_database
Open_image_to_save_the_database
Delete_Image
Calculated_field
Counter_field
Open_file
Save_file
Delete_file
Open_folder_with_file
Clear
Open
Component
No_data_to_add
File_not_found
Confirm
Error
Info
Yes
No
Dmitry.

Re: LANGUAJE

Thanks a lot

Re: LANGUAJE

Cool!!
Would it work with variables for 'your message' in case of multilingual application?

Let's say the user could choose between 2 or 3 languages at application start and would get the "system" message in the chosen language.

5 (edited by v_pozidis 2017-10-12 07:48:03)

Re: LANGUAJE

Grate news, it's nice to get messages in your language. You should also have the choice to translate  the buttons Cancel, Yes,No  of the message box and not only the message.

Re: LANGUAJE

v_pozidis wrote:

Grate news, it's nice to get messages in your language. You should also have the choice to translate  the buttons Cancel, Yes,No  of the message box and not only the message.

Buttons will translate automatically to language which uses in your Windows OS.

Dmitry.

Re: LANGUAJE

tcoton wrote:

Cool!!
Would it work with variables for 'your message' in case of multilingual application?

Let's say the user could choose between 2 or 3 languages at application start and would get the "system" message in the chosen language.

Yes.

var
   s: string;
begin
   s := 'Your message';
   Translate('This_Field_is_required', s);
Dmitry.

Re: LANGUAJE

I belive that it's better to have the choice to select the language in the buttons because I will give you an example.
I live in Greece, my Os version is in English.  If I use the new routine (Translate) I will get a message in Greek but the language in the buttons will be in English.

Re: LANGUAJE

v_pozidis wrote:

I belive that it's better to have the choice to select the language in the buttons because I will give you an example.
I live in Greece, my Os version is in English.  If I use the new routine (Translate) I will get a message in Greek but the language in the buttons will be in English.

Windows is not provide possibility to translate buttons in system dialog by user.

Dmitry.