05/10: Automatic Resizing

May 10, 2010

Hello all, it’s time again for a roundup on what’s happening to Loc-Suite these days. Very busy days. Very busy days. Basically, I completed my Beleg (like a Bachelor Thesis) about automatic application of layout during localizations. What this means? You will never-ever-ever-again have to manually resize a nib file after localization. Okay, it’s not never, but hopefully many-times ;-)

I have invested lots of time into this particular feature, which I think is the major (technical) problem of Mac localization. From the preview I showed in in this post, there were like a zillion of problems to be solved. Things became more complex that I imagined. However, finally it seems to work pretty well on some examples.

Here is one of these working examples:

This is a preview of an interface in one of my test tools. Basically this is what you’ll also see in the Manager or Localizer. So now, let’s put in some German dummy-text:

The interface has now been adjusted to fit all texts as good as possible. The former Cancel button had to extend in width and hence the Yes button had to do so, too. The approach will work with more complex windows as well, but this simple example shows the effects already quite well.

One of the things I’ve (thought of for weeks but) implemented just today is the red box you see there. I defined an arbitrary fixed width for the window. Without this definition, it would have extended in width.

I will eventually publish my work (maybe also here) and disclose the full details of how this process works. For now there’s only the user’s view. If you like, you can download a nightly build of a layout-enabled Localization Manager. As always – just go here and grab the “Localization Manager Layout”.

Next up will be to make the process ready for the big stage. There are some essential things still missing or buggy. If this is done, I will merge the layout into the main branch, publishing it to all developers.

I am pretty excited, and would love to hear some feedback.
Have fun, Max

PS: Is someone of you going to WWDC this year? I’ll be there. Maybe we can meet…


This entry was written by max, posted on at 22:28, filed under Features, Layout, News and tagged , , . Bookmark the permalink. Follow any comments here with the RSS feed for this post. Post a comment or leave a trackback: Trackback URL.

2 Comments

  1. Posted May 15, 2010 at 19:42 | Permalink

    Your localization suite has to be the best set of apps to use for localizing Mac apps! I was amazed when I first started using it. The NIB preview is indispensable and the workflow is the simplest and most intuitive of all the GLOT environments I’ve tried. AppleGLOT leaves much to be desired and I struggled for a while when I tried to use it. Thanks to your suite I no longer worry anymore about editing my NIBs & synchronizing across localizations! Thank you again for releasing such a fantastic group of apps.

  2. Posted May 16, 2010 at 12:46 | Permalink

    Thanks. You really made me smile :-)

Post a Comment

Your email is never shared. Required fields are marked *

*
*
Contact   Imprint   Home