Thanks for the link Max. I have also started watching the following to gain insights into the various steps
Internationalization & Localization by Kai Köhne, The Qt Company @QtWS18 https://www.youtube.com/watch?v=mP-3UETYOrI I did more reading and have now use lupdate to parse my C++ code for the tr() calls to generate the various languages *.ts I have also started using Linguist to load those *.ts file for the non-English variant to put in the correct text. Cheers On Sat, 23 Jan 2021 at 18:59, Max Paperno <ma...@wdg.us> wrote: > Hi Nicholas, > > The initial .ts files are also created when running lupdate from a > command line or as part of your build (if the .ts file(s) will be > created if they don't already exist). The process is described here: > https://doc.qt.io/Qt-5/linguist-manager.html#using-lupdate > > QtCreator also has context menus items within projects to facilitate > adding translations (IIRC). > > While the wiki article gives a decent example of implementation, it > doesn't actually explain any background information. There's really > more to internationalization than just some translations, and the > translation system has features that may be useful for other things as > well. I'd highly recommend reading the whole Internationalization > section of the Qt docs: > https://doc.qt.io/Qt-5/internationalization.html > > HTH, > -Max > > > On 1/23/2021 12:05 PM, Nicholas Yue wrote: > > Hi, > > > > I am starting to learn more about supporting multiple languages. > > > > I had a browse through the following URL > > > > https://wiki.qt.io/How_to_create_a_multi_language_application > > > > If I am not using qmake + *.pro files, how are the initial > > *_<language>.ts files created? > > > > Cheers > > -- > > Nicholas Yue > > Graphics - Arnold, Alembic, RenderMan, OpenGL, HDF5 > > Custom Dev - C++ porting, OSX, Linux, Windows > > http://au.linkedin.com/in/nicholasyue > > https://vimeo.com/channels/naiadtools > > > > _______________________________________________ > > Interest mailing list > > Interest@qt-project.org > > https://lists.qt-project.org/listinfo/interest > > > > _______________________________________________ > Interest mailing list > Interest@qt-project.org > https://lists.qt-project.org/listinfo/interest > -- Nicholas Yue Graphics - Arnold, Alembic, RenderMan, OpenGL, HDF5 Custom Dev - C++ porting, OSX, Linux, Windows http://au.linkedin.com/in/nicholasyue https://vimeo.com/channels/naiadtools
_______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest