<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Automatic Menu Creation in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/automatic-menu-creation/m-p/13628965#M27</link>
    <description>&lt;P&gt;Yeah that seems to be the potential best way forward - a set of "template" CUI files with strings I can find-and-replace to generate each language version automatically. I'm a bit surprised that there are no tools for this already though, especially since I see &lt;FONT face="courier new,courier"&gt;xlate="true"&lt;/FONT&gt; and &lt;FONT face="courier new,courier"&gt;xlate="false"&lt;/FONT&gt; attributes in the AutoCAD CUI files - suggests someone was thinking about it at least!&lt;/P&gt;</description>
    <pubDate>Tue, 13 May 2025 23:56:19 GMT</pubDate>
    <dc:creator>Kyudos</dc:creator>
    <dc:date>2025-05-13T23:56:19Z</dc:date>
    <item>
      <title>Automatic Menu Creation</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/automatic-menu-creation/m-p/13628919#M25</link>
      <description>&lt;P&gt;I'm about to start localising my ARX, which is pretty straightforward from the "application" side (resources, string tables etc.) but honestly dealing with multiple CUIX files and having to keep them aligned and updated, plus needing to keep translations in more than one place is a bit of a PITA.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm toying with the idea of writing code to create our menus / toolbars / ribbons etc.&amp;nbsp; - basically all the CUI stuff. That way the 'translation' is handle automatically on the 'easy' app side of things. I'm not familiar with the relevant APIs though - so if anyone IS more conversant with them - is this even a practical idea?&amp;nbsp; Can everything CUI even be done in code (e.g., double-click actions, shortcut menus etc.)&lt;/P&gt;</description>
      <pubDate>Tue, 13 May 2025 22:48:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/automatic-menu-creation/m-p/13628919#M25</guid>
      <dc:creator>Kyudos</dc:creator>
      <dc:date>2025-05-13T22:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Menu Creation</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/automatic-menu-creation/m-p/13628959#M26</link>
      <description>&lt;P&gt;I think the ribbon API is .NET only. Menus and toolbars are accessible VIA ActiveX. I just got finished wrapping these for Python and I gotta say, C++ and Automation is so eeewwwww!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A CUIx is just a zip file of XML files. I would consider a building a base CUIx, possibly with the strings to be translated tagged/marked that I could use to find a replace. Then make a script to generate CUIx for all the languages you would like to support&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 May 2025 23:39:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/automatic-menu-creation/m-p/13628959#M26</guid>
      <dc:creator>daniel_cadext</dc:creator>
      <dc:date>2025-05-13T23:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Menu Creation</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/automatic-menu-creation/m-p/13628965#M27</link>
      <description>&lt;P&gt;Yeah that seems to be the potential best way forward - a set of "template" CUI files with strings I can find-and-replace to generate each language version automatically. I'm a bit surprised that there are no tools for this already though, especially since I see &lt;FONT face="courier new,courier"&gt;xlate="true"&lt;/FONT&gt; and &lt;FONT face="courier new,courier"&gt;xlate="false"&lt;/FONT&gt; attributes in the AutoCAD CUI files - suggests someone was thinking about it at least!&lt;/P&gt;</description>
      <pubDate>Tue, 13 May 2025 23:56:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/automatic-menu-creation/m-p/13628965#M27</guid>
      <dc:creator>Kyudos</dc:creator>
      <dc:date>2025-05-13T23:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Menu Creation</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/automatic-menu-creation/m-p/13628993#M28</link>
      <description>&lt;P&gt;I’ve use wxWidgets translation stuff in the past, it’s based off gettext&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.weblate.org/en/latest/devel/gettext.html" target="_blank"&gt;https://docs.weblate.org/en/latest/devel/gettext.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in C++ you just wrap the strings to be translated in _(“ translate me”)&lt;/P&gt;&lt;P&gt;you would also be able to use the same translation libraries in whatever scripting language you choose.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;might be too much of a hassle depending on the size of your project&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2025 00:47:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/automatic-menu-creation/m-p/13628993#M28</guid>
      <dc:creator>daniel_cadext</dc:creator>
      <dc:date>2025-05-14T00:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Menu Creation</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/automatic-menu-creation/m-p/13643425#M29</link>
      <description>&lt;P&gt;A question more for the AutoDesk people....given that the CUI system can already use resources from a DLL for command icons, could CUI also use resource IDs from the string table in the resource DLL? That would definitely make localising a whole lot simpler.&lt;/P&gt;</description>
      <pubDate>Wed, 21 May 2025 22:59:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/automatic-menu-creation/m-p/13643425#M29</guid>
      <dc:creator>Kyudos</dc:creator>
      <dc:date>2025-05-21T22:59:25Z</dc:date>
    </item>
  </channel>
</rss>

