Forum > Packages and Libraries

Translator - New library to translate applications to any language super easily

<< < (2/2)

Nicole:
WOW, thank you!

Roland57:

--- Quote from: domasz on February 09, 2023, 07:16:48 pm ---Caption of the form- I'll fix that. Thanks!

--- End quote ---

Welcome.  ;)


--- Quote from: domasz on February 09, 2023, 07:16:48 pm ---Other strings - you can use _() function, eg.:


--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---Edit1.Text := _('Original text');
--- End quote ---

Great! I will try.

domasz:

--- Quote from: Roland57 on February 09, 2023, 08:09:57 pm ---

--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---Edit1.Text := _('Original text');

Great! I will try.

--- End quote ---

Please get newest version from Github. Older version doesn't save untranslated text from _() to files.

Roland57:
Test successful.  :)

domasz:

--- Quote from: Nicole on February 09, 2023, 07:42:01 pm ---WOW, thank you!

--- End quote ---
You're welcome! :)

Navigation

[0] Message Index

[*] Previous page

Go to full version