About-menu

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7390
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: About-menu

Post by jacque » Fri Jan 02, 2015 9:24 pm

Aha! I see. The automatic translation happens for the main menu but you must translate the individual menu items yourself. This is done using the "tag" entry for each menu item. The tag is what the user sees in the menu, much like a stack label is different from the actual name of the stack. The name of the menu item must be About, but it's tag can be anything. See the "menu" entry in the dictionary. The form for each menu item is like this:

[<flags>] <label> ['/' <accelerator> ['|' <tag>]]

The flag is optional (a checkmark is a flag, for example). The Label will be "About". The accelerator is optional (the keyboard shortcut) and the tag will be your Dutch translation. You'll need to edit each menu item in the button's property inspector because the menu builder doesn't add tags. So your entry for the About item will look like this:

About/|Dutchword

You need to include the "/" followed by an empty accelerator before the pipe.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

lcgrs
Posts: 19
Joined: Thu Sep 05, 2013 5:44 pm

Re: About-menu

Post by lcgrs » Fri Jan 02, 2015 10:01 pm

About/|Dutchword
I am very sorry, but this doesn't works at all.. :(
When I replace the About-entry in the Menu Builder by "About/|Over", I can have it displayed in the list box ... and it disappears immediately when I click on another item or closes the Menu Editor.

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7390
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: About-menu

Post by jacque » Fri Jan 02, 2015 10:07 pm

Menu builder doesn't support the new tags function. Did you try changing the entry in the button's property inspector?
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

lcgrs
Posts: 19
Joined: Thu Sep 05, 2013 5:44 pm

Re: About-menu

Post by lcgrs » Fri Jan 02, 2015 10:27 pm

Nope... I don't know how to access that property inspector from the menu builder...

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7390
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: About-menu

Post by jacque » Fri Jan 02, 2015 10:53 pm

Ignore the menu builder. Choose the edit tool from the tool palette and double-click the Help menu button in the stack. If you are on a Mac, that button may not be visible, but you can double-click it in the Application Browser instead.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

lcgrs
Posts: 19
Joined: Thu Sep 05, 2013 5:44 pm

Re: About-menu

Post by lcgrs » Fri Jan 02, 2015 11:49 pm

I'am still very sorry, but it don't works...
What I have done:
1/ used the menu builder to create a menu in the stack (is there another possibility?)
2/ located the About item with the Application Browser and then I modified the menu items with the property inspector to "&About/|Over"
There is no possibility to translate the Quit menu option and Hide and Services ...

Is there no online info about localization? I am sure that I am not the only one looking to create non English applications...
Livecode seems great to me, but I am not ready to investigate more in it if we can't create a dutch menu :(

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7390
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: About-menu

Post by jacque » Sat Jan 03, 2015 3:29 am

I know it possible but I don't know any more. I think you should write to tech support and ask: support@runrev.com
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

lcgrs
Posts: 19
Joined: Thu Sep 05, 2013 5:44 pm

Re: About-menu

Post by lcgrs » Sat Jan 03, 2015 5:01 pm

Mail has been send.
I am looking forward to the answer... :? - but I still doesn't understand why this kind of info is not online, somewhere on the website... :?:

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7390
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: About-menu

Post by jacque » Sat Jan 03, 2015 7:45 pm

Yes, they need a lesson on it. If you find the solution, please post here so others can see it.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

lcgrs
Posts: 19
Joined: Thu Sep 05, 2013 5:44 pm

Re: About-menu

Post by lcgrs » Tue Jan 06, 2015 4:03 pm

Back to nothing... :(
Thank you for your request.

It is certainly possible to do this. Have you checked out the section on Menus
in the LiveCode User Guide (available under your Help menu)?

Unfortunately we cannot give you direct support unless you have a support
contract with us. The forum thread does look as though it was pointing you in
the right general direction to get this working.

Post Reply