Re: Language of StandardActions

From: L D Blake (not_at_any.adr)
Date: 11/19/04


Date: Fri, 19 Nov 2004 13:23:33 -0500

On 19 Nov 2004 08:49:11 -0800, ckirchho@directmedia.de (Christian Kirchhoff)
wrote:

>I am developing software with Delphi 6 under Windows XP SP2, mainly
>for the german market.
>
>One of my project is being localized for the UK. The beta testers
>report that the Popup Menu for TEdit and TMemo components (Undo, Cut,
>Cop, Paste, Delete, Select all) are still in german. I didn't find any
>ressource strings for those texts. But there is an ActionList and
>StandardActions for Cut, Copy etc. in Module "ActnRes", and the
>captions of this ActionList are in german language. I Supposed that
>the MenuItems in the PopupMenu are linked to those actions and thought
>that by changing those actions cations to english at runtime I could
>solve this problem.
>
>But trying to change these captions at runtime for the UK version
>doesn't work because the Object "StandardActions" declared in Unit
>"ActnRes" is always nil.
>
>Does anybody know how to solve this problem?

If you are using the default menus from the edit controls themselves, the text
you need to change will be in the common controls DLL resource area. What you
need to do is subclass these controls and provide your own menus from your
localized resource strings. This also has the advantage that you can add (or
subtract) items from the menu situationally, allowing for some rather
impressive customizations.

-----
Laura



Relevant Pages

  • Re: German Economy?
    ... controls were instituted, but these related to staple products and ... that German rearmament wasn't particularly revolutionary or nazi as ... remained at the end of the Polish campaign, so a good 2-3 months' use ... than production, which was normal for heavy fighting, but stocks were ...
    (soc.history.war.world-war-ii)
  • Re: Hitler and Jews/Outcome of WWII
    ... foreign language in Texas until at least the mid-70s. ... Since your statement was that German cultures and the like ceased to ... You DO realize this is POST WWI? ... Who controls the present controls the past. ...
    (soc.history.war.world-war-ii)
  • Changing MM language
    ... My MM has all controls, menus etc. shown in German, can any body advise how I ... can change them to English. ...
    (microsoft.public.windowsxp.moviemaker)
  • Re: Staff having to learn German?
    ... uses German words HOWEVER this does not require to learn German, ... safety issue here. ... Their alternative always seemed to be to use a huge range of symbol which often were just as incomprehensible as the German especially as often there was no key to them written in English or if there was then it was probably one that someone had made up at work to help others. ... In many cases controls /are/ identified in English or with ISO pictograms and computer controlled equipment allows a choice of languages. ...
    (uk.railway)
  • Re: Hitler and Jews/Outcome of WWII
    ... German was the second most common ... foreign language in Texas until at least the mid-70s. ... to erase a cultural German presence in America. ... Who controls the past controls the future. ...
    (soc.history.war.world-war-ii)