> On Mar 11, 2016, at 6:09 PM, ekke <e...@ekkes-corner.org> wrote:
> 
> Am 11.03.16 um 17:56 schrieb Jason H:
>>>> The question is why it's not there by default.
>>>> 
>>> My question is more why the lrelease and lupdate items are in Tools > 
>>> External, and not in the context menu for .pro files ;)
>>> But since I added them there..... I know that it was mostly as an example 
>>> for the external tools, and how they can get access to state in Qt Creator 
>>> (the current project in this case).
>>> Just opening Linguist is not there, because you can either open it with a 
>>> .ts file directly, or use whatever OS means you have to open applications 
>>> (e.g. Spotlight on OS X, Start menu search on Windows, and the search 
>>> thingy in Ubuntu, all sound like a much quicker and more comfortable way 
>>> than navigating through menus to Tools > External > Linguist > Open 
>>> Linguist).
>>> I’m not against having it there though, so feel free to upload a change.
>>> 
>> My question is why we have to deal with lrelease at all? Seems like there 
>> should be a qmake auto build for .qm updates from .ts?
> would be cool to get ts / qm files "by magic”
> coming from BlackBerry Cascades where Eclipse Momentics IDE only needs to add 
> the languages to the project and then does this stuff "under the hood".
> ... was not easy to start with QtCreator workflow for translations for me

I’d claim that that is more the “Qt” or “qmake” workflow.

For Qt Creator itself we manually added the automatic “releasing” of 
translations to the .pro files.
I agree that it’s ugly that this is necessary.
(See 
http://code.qt.io/cgit/qt-creator/qt-creator.git/tree/share/qtcreator/translations/translations.pro#n122
most of that file is because of special stuff we do in Qt Creator though 
(translating .json files etc), so the most
relevant is the updateqm extra compiler line 122ff.)

> see also
> http://forum.qt.io/topic/64123/localizing-qt-quick-apps 
> 
>> 
>> On OSX, Linguist is not in my spotlight :-( Anyone else in the same boat? 
>> Also it takes time to launch Spotlight, type 'lin' and get the results, it's 
>> jarring experience. If I could launch that in Creator, that'd be so much 
>> better. (I'm on a recent mid-range Mac mini, no SSD for me!)

Well, out of the box you can open Linguist with a specific .ts file from Qt 
Creator ;)

>> Maybe Creator could get a "Translation" button in the left sidebar 
>> [Welcome/Edit/Design/Debug/TRANSLATE/Projects/Analyze/Help] and a native 
>> plug-in?
>> Alternative is a "Translations" project view option [Projects/Open 
>> Documents/Bookmarks/.../Translations] which shows the normal projects pane 
>> file list but also shows the strings in the files,with the editor window the 
>> Translation pane from Linugust.

The suggestion to “integrate” Linguist into Qt Creator exists basically since 
the existence of Qt Creator, but the effort involved in that would far outweigh 
the actual usefulness...

>> Don't get me wrong, Linguist needs to be kept, and work stand-alone so we 
>> don't have to give it to translators. But being able to preview the QML 
>> screens with translations would be very cool.
>> 
>> But given benefit-reward ratio, I'd just like to launch it from Creator.
>> 
>> 
>> _______________________________________________
>> Qt-creator mailing list
>> 
>> Qt-creator@qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/qt-creator
> 
> 
> -- 
> ekke (ekkehard gentz)
> 
> independent software architect
> international development native mobile business apps
> BlackBerry 10 | Qt Mobile (Android, iOS)
> twitter: @ekkescorner
> LinkedIn: http://linkedin.com/in/ekkehard/
> _______________________________________________
> Qt-creator mailing list
> Qt-creator@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator

-- 
Eike Ziller, Principle Software Engineer - The Qt Company GmbH
 
The Qt Company GmbH, Rudower Chaussee 13, D-12489 Berlin
Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 
144331 B

_______________________________________________
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator

Reply via email to