Auto sizing label to fit dimension

I was wondering if anyone has a solution for automatic fitting text in labels by adjusting size, something like in UILabel?

Currently, if there is only one word in CCLabelTTF and it doesn’t fit in the specified dimensions, it’s not shown at all. The problem is if a game is translated into several languages, it will be difficult to specify dimensions and font sizes for separately each language.