C++ Builder - Localization Without Resource DLLs

preview_player
Показать описание
Localize (translate) your application without the use of resource DLLs.
Рекомендации по теме
Комментарии
Автор

Hello, With the above method the components caption and Edit Box Text contents can be localized.Could you please answer how to localize the Memo-> Lines ->Strings or GroupBox ->Items ->Strings .

lnr
Автор

Will localization using resource dlls in C ++ Builder be developed? Or is this method preferable now?

irrvdti
Автор

Hello, thank you for this very interesting tutorial. Is it also possible to translate the name of Form1? Thanks

zulpjpb
Автор

What about translating resource strings for different messages?

irrvdti
Автор

Hello,
thank you. You are great.
This code gave errors in 10.2 tokyo. the first error it gives is std::map<String, std::map<String, String>> translation; I passed it > by leaving a space after the String> here, so it became String> >.
then [bcc32 Error] Unit5.cpp(40): E2270 > expected error I passed String> > leaving spaces in it and I did it like this void translateForm(TForm* Form, String Language, const std::map<String, std::map<String, String> >& translation) but then
[bcc32 Error] Unit5.cpp(17): E2034 Cannot convert 'std::_Tree<std::_Tmap_traits<UnicodeString, std::map<UnicodeString, UnicodeString, std::less<UnicodeString>, std::allocator<std ::pair<const UnicodeString, UnicodeString> > >, std::less<UnicodeString>, std::allocator<std::pair<const UnicodeString, std::map<UnicodeString, UnicodeString, std::less<UnicodeString>, UnicodeString, UnicodeString> > > > >, 0> >::const_iterator' to 'int'
full parser context
Unit5.cpp(15): parsing: void translateForm(TForm *, UnicodeString, const std::map<UnicodeString, std::map<UnicodeString, UnicodeString, std::less<UnicodeString>, std::allocator<std:: pair<const UnicodeString, UnicodeString> > >, std::less<UnicodeString>, std::allocator<std::pair<const UnicodeString, std::map<UnicodeString, UnicodeString, std::less<UnicodeString>, std: :allocator<std::pair<const UnicodeString, UnicodeString> > > > > > &)
I got the error. I couldn't run it. Could you help

mustiveli