[Qt-interest] Is translation source file can be split in to no. of files

Santhosh Y santhosh at softjin.com
Mon May 25 07:46:42 CEST 2009


Hi,

I know how to use Qt-multi linguist support.

As per my understanding it is needed to have a translation source (.ts) file for
each language we want to support. And the file-name will be mentioned in the 
project file (.pro) under TRANSLATIONS:

And all the translation messages requested in the source code will be written in to the 
file with the source file name and its line number(using lupdate applicaiton)

Q1: My requirement is that, can I divide this translation file into no of sub-files.

For example, if I have the 3-directories in my src/ (dir1/,  dir2/ and dir3/), with my language 
translation source file (myLanguage.ts) - I would like to generate following files

- myLanguage-dir1.ts
- myLanguage-dir2.ts

- myLanguage-dir3.ts

All the above 3-are part of myLanguage.ts file. 

Can I do in the way I mentioned above.


Q2: Do QT supports hierarchical languages ?

-- 
----------------------------------------------------
Y Santhosh Kumar
Senior Software Engineer
SoftJin Technologies Private Limited
Unit No. 102, Mobius Tower,
I Floor, SJR I - Park,
EPIP, White Field,
Bangalore - 560066, India
U : www.softjin.com
E : santhosh at softjin.com
T : +91-80-41779999
M : +91-9740535265
----------------------------------------------------



Business Disclaimer
____________________________________________________________
This e-mail message and any files transmitted with it are intended solely
for  the use  of the  individual or entity  to which they  are  addressed. It
may  contain confidential,  proprietary or legally  privileged  information.
If  you  are  not  the  intended recipient please be advised that you have
received  this  message in error and any use is strictly prohibited. Please
immediately  delete it  and all copies of it from your system, destroy any
hard  copies  of  it and  notify  the  sender  by return mail. You must not,
directly or indirectly, use,  disclose,  distribute, print, or copy any part of
this message if you are not the intended recipient.
___________________________________________________________





More information about the Qt-interest-old mailing list