Page 1 of 2
About-menu
Posted: Mon Oct 20, 2014 6:14 pm
by lcgrs
I have been done some testing with LiveCode, but now I have one question: is is possible to translate the "About-menu". In the compiled program, it still shows "About application", I would like to have "Over" (in Dutch).
If I develop a application in Dutch, I like to have the About-menu in Dutch.
Thanks!
Re: About-menu
Posted: Wed Oct 22, 2014 9:11 am
by Mark
Hi,
Open the Menu Builder en look at the Help menu. The last item in the Help menu should say "About". Change it to "Over" and it should appear as "Over" in the menu bar.
Kind regards,
Mark
Re: About-menu
Posted: Wed Oct 22, 2014 8:43 pm
by jacque
Changing the label will remove the item from the menu bar. Instead, use the newer menu item string that allows you to include a tag. A tag acts like a button label; the name of the item is still "About" but the user will see the tag you enter. The syntax is:
[<flags>] <label> ['/' <accelerator> ['|' <tag>]]
Only the label is required (that's actually the name) but you can add a tag this way:
About MyApp/|Over
Re: About-menu
Posted: Wed Oct 22, 2014 10:01 pm
by Mark
In older version of Revolution/LiveCode, the menu builder works as I described in my previous post. Apparently, it no longer works correctly. That's a bug.
Kind regards,
Mark
Re: About-menu
Posted: Thu Oct 23, 2014 1:28 am
by jacque
Actually the menu syntax changed when tags were added a few versions ago.
Re: About-menu
Posted: Fri Dec 19, 2014 9:58 pm
by lcgrs
I have found this about localization
http://forums.livecode.com/phpBB2/viewtopic.php?t=635
It tells that OSX will handle the localization of the 'About'-menu automatically.
Anybody with more information about the proj folder? Livecode adds an Dutch.proj file, but this seems not to be enough to get things working...
Where can I find more info about localization?
Thanks for any hints!
Re: About-menu
Posted: Fri Dec 19, 2014 10:54 pm
by Klaus
Goedenavond lcgrs,
the trick with the empty .PROJ folders will only do the following for you:
1. Localize QUIT string in the appropriate menu-item in the app menu: German example -> NameOfApp beenden
2. Same for the TITLE of the help menu: German example -> Hilfe
3. Same for the ABOUT string of the menu-item in the APP menu: German example -> Über NameOfApp
Everything else needs to be set up by you.
Best
Klaus
Re: About-menu
Posted: Sat Dec 20, 2014 12:17 pm
by lcgrs
Klaus wrote:the trick with the empty .PROJ folders will only do the following for you:
1. Localize QUIT string in the appropriate menu-item in the app menu: German example -> NameOfApp beenden
2. Same for the TITLE of the help menu: German example -> Hilfe
3. Same for the ABOUT string of the menu-item in the APP menu: German example -> Über NameOfApp
Thats great! This is what I am looking for!

Only... At this stage, "this trick" doesn't work for me. I found an emty 'Dutch.proj' map in the compiled Livecode app, but the 'About'-menu is still in English. So I suppose that I do something wrong, or should do something more to get it working?
So any hints?
Re: About-menu
Posted: Sat Dec 20, 2014 1:20 pm
by Klaus
Dag lcgrs,
hm, that used to work, but I did not build a standalone for a long time...
Did you set up the menus as required?
I mean, do you really have a HELP menu etc.?
Best
Klaus
Re: About-menu
Posted: Sat Dec 20, 2014 4:56 pm
by lcgrs
Did you set up the menus as required?
I mean, do you really have a HELP menu etc.?
I used the menu builder to create the menu:
Re: About-menu
Posted: Sat Dec 20, 2014 9:21 pm
by jacque
Is the correct locale set in the Mac System Preferences (Language and Region pane)?
Re: About-menu
Posted: Sun Dec 21, 2014 12:54 pm
by lcgrs
Everything seems OK for me:
- Language: Dutch
- Region: Belgium
Re: About-menu
Posted: Fri Jan 02, 2015 5:11 pm
by lcgrs
I am still stuck with my problem concerning this about-menu...

When there is no possibility to translate this about-menu, I will have to conclude that Livecode can only be used for development of apps in English???
That means that I wil have to drop Livecode...

Re: About-menu
Posted: Fri Jan 02, 2015 8:14 pm
by jacque
Is the About item at the very bottom of the Help menu? Did you alter it at all? There are some specific rules about how that menu item must be set up:
It must be the last menu item in the Help menu
It must be preceded by a hyphen on the previous line
It must start with the word "About"
Re: About-menu
Posted: Fri Jan 02, 2015 9:04 pm
by lcgrs
Three times "Yes"!
The problem is not that it doesn't works, but that the About menu remains in English (only the Help menu is in Dutch). So: what to do to have an About-menu in Dutch (or French, or any other language)…???