I'm translating CodeLite into russian and has a problem: after translating a perspective menu in main menu bar I get a broken menu. 'Default' and 'Debug' submenus just dissappeared. If I return to English the Perspective menu become OK. What could be a problem?
You can look at screenshots:
Original variant:
Translated variant:
Broken menu after translation.
-
- CodeLite Enthusiast
- Posts: 30
- Joined: Tue Apr 03, 2012 1:18 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
-
- CodeLite Plugin
- Posts: 819
- Joined: Wed Sep 03, 2008 7:26 pm
- Contact:
Re: Broken menu after translation.
Hi,
I can see why this is happening, and I've committed a fix (though without testing it in a locale with translations).
Please would you update to r5608 and check if it now works for you. It's possible that there may be additional bugs there...
Thanks,
David
I can see why this is happening, and I've committed a fix (though without testing it in a locale with translations).
Please would you update to r5608 and check if it now works for you. It's possible that there may be additional bugs there...
Thanks,
David
-
- CodeLite Enthusiast
- Posts: 30
- Joined: Tue Apr 03, 2012 1:18 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Broken menu after translation.
I agree. And please check it out below. If I'm not wrong I translated those string already (PoEdit tool can't find the same strings in non-translated strings) but still see them (pane's captions)in english.It's possible that there may be additional bugs there...
-
- CodeLite Plugin
- Posts: 819
- Joined: Wed Sep 03, 2008 7:26 pm
- Contact:
Re: Broken menu after translation.
I meant with the 'Perspectives' menu.It's possible that there may be additional bugs there...
That's intentional. Unfortunately, wxAui uses the caption as part of its way of identifying panes. If it's translated, that will break whenever anyone changes locale (the string loaded from .codelite/config will be different from the string that wxAui sees, so the pane won't be managed correctly)....but still see them (pane's captions)in english.
Until wxAui is fixed (and everyone is using fixed versions) it's better not to translate.
-
- CodeLite Enthusiast
- Posts: 30
- Joined: Tue Apr 03, 2012 1:18 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Now works
Ok.Until wxAui is fixed (and everyone is using fixed versions) it's better not to translate.
I am on r5611 and now it works. Perspectives are available in translatied version now. Thanks again.Please would you update to r5608 and check if it now works for you.