473,387 Members | 1,440 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

QT and translations for plugins

Hello,

I am trying to add translations to an c++/qt3 application. I am using
QTranslator and after some time everything seems to work so far. But
the application also contains some plugins and I am wondering how to
deal with them best? I have tried to find examples, but haven't found
yet what I am actually looking for. I mean most of the projects I have
found they have just one single .ts file where all strings are
included, also from the plugins. Is there no way to have one .ts file
for each plugin, so that also 3rd party plugins can be translated?
Also how it should work with installTranslator(pluginTranslator) when
a plugin gets enabled while the program already running. This seems
not to be possible, or at least I always get segfaults, I think
because the translator must be created before the application's main
window.

Thank you very much for any comments about what is the common way how
to deal with this.

Regards,
Klaus

Jun 26 '07 #1
1 1612
bwnyer wrote:
I am trying to add translations to an c++/qt3 application. I am using
QTranslator and [..]
Please post your question to Qt forums. It's off-topic here.

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Jun 26 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Aurélien Géron | last post by:
Hi, I'd like to write a simple portable browser plugin for Internet Explorer, Netscape and if possible other navigators too. Is there a way to do that using Python? For now I'd like to develop...
1
by: censored | last post by:
Hi. I'm hoping for a bit of programming guidance here .... I have an application I wrote (it's an irc bot fyi), with which I want to use plugins. Basically, I want there to be directory called...
4
by: stu_pb | last post by:
I am designing a plugin system for a window application using .NET(C# specifically). One of the requirements of the plugin system is to be able to dynamically load/unload plugins. My initial...
0
by: william | last post by:
I've got 2 differents sources of code, one for the main code (let's call it Main), and the other one for plugins (let's call it Plugins). The setup.py for Main is trivial and install all files in...
5
by: Christoph Haas | last post by:
Dear coders... I'm working on an application that is supposed to support "plugins". The idea is to use the plugins as packages like this: Plugins/ __init__.py Plugin1.py Plugin2.py...
5
by: Michael McCarthy | last post by:
I want to develop plugin support for a system.montitor module I am working on. A lot of the modules will do mostly interop stuff for an older system, but I want to use it myself as well to monitor...
0
by: Greg Conely via .NET 247 | last post by:
I am creating a application that will be using plugins. I am doing this so that when I want to let this application work with another type of dbase system, I only have to write\install one plugin,...
1
by: dscriv | last post by:
Hello, I have Netscape 8.0.4 (in Firefox mode) and Flash 8.0.24.0. I also have IE and Firefox installed. If I go to this page, which contains a Flash detection movie:...
7
by: Laurent Navarro | last post by:
Hello, I created a software some times ago, which uses some plugins to work (which I coded also). I had problems to load those plugins as they used some classes and functions which were...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.