Convert OneSky languageCode to be compatible with Symfony2 translation bundle.

e.g  `pt-PT` to `pt_pt` .