<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Does customize dgnlib support bilingual?</title><link>https://communities.bentley.com/products/administration/f/product-administration-forum/182275/does-customize-dgnlib-support-bilingual</link><description>Hello All, 
 I created some tools and customized task/menu accordingly. I&amp;#39;d like to know does dgnlib support bilingual? I created two menus right now, chinese and english version. Both menu will show. If MS can hide one menu according to the windows/MS</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Does customize dgnlib support bilingual?</title><link>https://communities.bentley.com/thread/533811?ContentTypeID=1</link><pubDate>Mon, 22 Jul 2019 05:56:24 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:b4f3bcc2-51b8-446b-915f-e00657a2e937</guid><dc:creator>Changsong Ling</dc:creator><description>&lt;p&gt;It is weird, I created the chinese ribbon again, this time it is OK. I compared both chinese ribbons, but I didn&amp;#39;t find any difference.&lt;/p&gt;
&lt;p&gt;In general, the CE language is not used to control customised ribbon. It can be controlled by named expression, same as V8i.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does customize dgnlib support bilingual?</title><link>https://communities.bentley.com/thread/533795?ContentTypeID=1</link><pubDate>Mon, 22 Jul 2019 03:00:28 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:94673d83-79fa-4f3b-a918-e8feae8ebee4</guid><dc:creator>Changsong Ling</dc:creator><description>&lt;p&gt;I&amp;nbsp;revised the ribbon many times since it doesn&amp;#39;t work, maybe some trash information left...&lt;/p&gt;
&lt;p&gt;As you said there are&amp;nbsp;two english ribbons and one chinese ribbon, there should be problem for the &amp;quot;duplicated&amp;quot; english ribbon. But the result is, the&amp;nbsp;duplicated english ribbon can&amp;nbsp;display as soon as the CE&amp;nbsp;language is EN and the&amp;nbsp;Visibility is True, there is no problem on it. For the &amp;quot;good&amp;quot; chinese&amp;nbsp;ribbon, since&amp;nbsp;there is no CN language in my CE, it cannot display, that&amp;#39;s the problem.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does customize dgnlib support bilingual?</title><link>https://communities.bentley.com/thread/533793?ContentTypeID=1</link><pubDate>Mon, 22 Jul 2019 02:53:00 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:200478a1-785f-4469-9641-8d788b5287d2</guid><dc:creator>dorlig na</dc:creator><description>&lt;p&gt;sorry. I&amp;#39;m answering &amp;quot;BTW, did you notice that there is a &amp;quot;custom&amp;quot; suffixed on my chinese ribbon but not on the english ribbon. Shouldn&amp;#39;t them be same?&amp;quot;&lt;/p&gt;
&lt;p&gt;this is because there are two English tabs defined in the PineApp.dgnlib. You side you created two version one of which is for English another is Chinese. but in fact there are three&amp;nbsp; ribbon tabs defined in the PineApp.dgnlib. two of them are English and with complete duplicate groups but the ribbon tab name is only deferent respect character case. one is PineApp, another is PineAPP.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;if you use keyin &amp;quot;ribbon customizations exportecxml&amp;quot; to export to xml. and delete one duplicate in the xml, then use keyin&amp;nbsp;&amp;quot;ribbon customizations importecxml&amp;quot;, the you will see (custom) suffix for the PineApp ribbon tab in the ribbon customization dialog&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does customize dgnlib support bilingual?</title><link>https://communities.bentley.com/thread/533787?ContentTypeID=1</link><pubDate>Mon, 22 Jul 2019 02:36:20 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:963cca31-da65-41b2-b958-ebdd0123b4af</guid><dc:creator>Changsong Ling</dc:creator><description>&lt;p&gt;I created&amp;nbsp;task/menu in V8i, and ribbon in CE.&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;know one way to create them only. Yes ribbon customization dialog.&lt;/p&gt;
&lt;p&gt;Do you have multiple languages in your CE? If you have, would you please help me to test my assumption?&lt;/p&gt;
&lt;p&gt;My assumption: there is no MS language in V8i, the menu is fully controlled by named expression. But for CE,&amp;nbsp;even the named expression is True, but if the language of the&amp;nbsp;ribbon does not match the language of CE, it won&amp;#39;t show neither.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks a lot.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does customize dgnlib support bilingual?</title><link>https://communities.bentley.com/thread/533786?ContentTypeID=1</link><pubDate>Mon, 22 Jul 2019 02:35:42 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:ae337cb7-c0b3-485e-9cbf-1bc5bd555aca</guid><dc:creator>dorlig na</dc:creator><description>&lt;p&gt;the problem here is that there are 2 ribbon tabs nearly with duplicated names. one is PineApp and another is PineAPP. the deference is the character case. but the program treat ribbon names case insensitive so that we treat one as the base of another. if one tab has base then we don&amp;#39;t think it&amp;#39;s a customization.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does customize dgnlib support bilingual?</title><link>https://communities.bentley.com/thread/533785?ContentTypeID=1</link><pubDate>Mon, 22 Jul 2019 02:31:35 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:5c38b81d-29cb-4b37-9682-1f7620619efb</guid><dc:creator>dorlig na</dc:creator><description>&lt;p&gt;which product do you use to create the PineApp.dgnlib? V8i ss* or Connect Edition?&lt;/p&gt;
&lt;p&gt;How do you create them? using ribbon customization dialog? or ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does customize dgnlib support bilingual?</title><link>https://communities.bentley.com/thread/533782?ContentTypeID=1</link><pubDate>Mon, 22 Jul 2019 02:21:44 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:1d3ab9ad-acf4-44f3-a6c6-4723fdef6c05</guid><dc:creator>Changsong Ling</dc:creator><description>&lt;p&gt;Hello Dorlig,&lt;/p&gt;
&lt;p&gt;I created a Task and a Menu for V8i, I think that&amp;#39;s why you saw three,&amp;nbsp; a task, a menu and a ribbon.&lt;/p&gt;
&lt;p&gt;Thanks a lot.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does customize dgnlib support bilingual?</title><link>https://communities.bentley.com/thread/533649?ContentTypeID=1</link><pubDate>Fri, 19 Jul 2019 10:42:09 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:936e3aa6-62a3-4154-901c-32fa6310feb8</guid><dc:creator>dorlig na</dc:creator><description>&lt;p&gt;answer to &amp;quot;BTW, did you notice that there is a &amp;quot;custom&amp;quot; suffixed on my chinese ribbon but not on the english ribbon. Shouldn&amp;#39;t them be same?&amp;quot;&lt;/p&gt;
&lt;p&gt;if you use keyin &amp;quot;ribbon customizations exportecxml&amp;quot;, you&amp;#39;ll find that&amp;nbsp;there are three tabs defined in the PineApp.dgnlib two of which are duplicate with name &amp;quot;Pineapp.PineAPP&amp;quot;. I don&amp;#39;t know how this happen. Do you know how this happen?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;if there are duplicate tabs, we will set one as the baseline of another and merge their groups and only display one tab. Then in our code we won&amp;#39;t add suffix &amp;quot;custom&amp;quot; to it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does customize dgnlib support bilingual?</title><link>https://communities.bentley.com/thread/533277?ContentTypeID=1</link><pubDate>Thu, 18 Jul 2019 01:53:16 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:c5316c05-25f5-43ab-963c-8158dc8a1a51</guid><dc:creator>Changsong Ling</dc:creator><description>&lt;p&gt;Hello Marc,&lt;/p&gt;
&lt;p&gt;There is only one language En in my CE, So I cannot test.&lt;/p&gt;
&lt;p&gt;My assumption: there is no MS language in V8i, the menu is fully controlled by named expression. But for CE,&amp;nbsp;even the named expression is True, but if the language of the&amp;nbsp;ribbon does not match the language of CE, it won&amp;#39;t show neither.&lt;/p&gt;
&lt;p&gt;For CE, the best way might be set display &amp;quot;always&amp;quot; on the different ribbons, let the MS language determine which one to show.&lt;/p&gt;
&lt;p&gt;If so, there is another problem, for example my case here, I cannot show chinese ribbon on english MS?&lt;/p&gt;
&lt;p&gt;Thanks a lot.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does customize dgnlib support bilingual?</title><link>https://communities.bentley.com/thread/533192?ContentTypeID=1</link><pubDate>Wed, 17 Jul 2019 15:32:32 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:7d89a63f-c8b4-4967-a785-939e8965f838</guid><dc:creator>Marc Thomas</dc:creator><description>&lt;p&gt;The way that we handle language support has changed in CE, which I did not take into account in my initial reply. Each of your users can now select their preferred language in User Preferences, which should be remembered between sessions:&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/343321/pastedimage1563377383664v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;That may be the appropriate solution here. If you change this preference from the default of en to zh are your custom menus translated correctly?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does customize dgnlib support bilingual?</title><link>https://communities.bentley.com/thread/533082?ContentTypeID=1</link><pubDate>Wed, 17 Jul 2019 08:13:59 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:2832da55-3bd8-4720-bf25-48ba746037e0</guid><dc:creator>Changsong Ling</dc:creator><description>&lt;p&gt;Hello master Fu,&lt;/p&gt;
&lt;p&gt;In fact I didn&amp;#39;t&amp;nbsp;access MS language, I defined a variable and named expressions to control which ribbon/menu/task to show.&lt;/p&gt;
&lt;p&gt;I think it is better to use a variable to control the ribbon/menu/task, since all the MS/windows are probably english version, but I&amp;#39;d like to show chinese menu for chinese users who is using MS/windows english version.&lt;/p&gt;
&lt;p&gt;The menu/task works fine in V8i, but ribbon doesn&amp;#39;t work in CE, even I have checked the named expressions in CE, they are OK.&lt;/p&gt;
&lt;p&gt;Would you please try the dgnlib in your CE? None of them show here. Thanks a lot.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does customize dgnlib support bilingual?</title><link>https://communities.bentley.com/thread/533079?ContentTypeID=1</link><pubDate>Wed, 17 Jul 2019 08:03:07 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:af5c319f-4c1f-4182-a6d3-fb0cb07c7e97</guid><dc:creator>Yongan.Fu</dc:creator><description>&lt;p&gt;Hello Mr. Ling,&lt;/p&gt;
&lt;p&gt;CE is very different with V8i in localized language. In CE, you can change your MS language by selecting File &amp;gt; Settings &amp;gt; User &amp;gt; Preferences &amp;gt; Language with only one MSCE installation. So I don&amp;#39;t think it is a good idea to define a variable to determine what language you use.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does customize dgnlib support bilingual?</title><link>https://communities.bentley.com/thread/532998?ContentTypeID=1</link><pubDate>Wed, 17 Jul 2019 01:44:26 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:c9fe3f25-9acd-4f85-bd00-baaae436c4b9</guid><dc:creator>Changsong Ling</dc:creator><description>&lt;p&gt;Hello Kim,&lt;/p&gt;
&lt;p&gt;I have already did so. it works in V8i, but failed in CE.&lt;/p&gt;
&lt;p&gt;Does it work on your CE? According to my setting, if there is no variable PINEAPP_LAN defined or its value is EN, only the english ribbon show; if PINEAPP_LAN is CH, only the chinese ribbon show. But none of them show in my CE regardless the variable PINEAPP_LAN.&lt;/p&gt;
&lt;p&gt;BTW, did you notice that there is a &amp;quot;custom&amp;quot; suffixed on my chinese ribbon but not on the english ribbon. Shouldn&amp;#39;t them be same?&lt;/p&gt;
&lt;p&gt;Thanks a lot!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does customize dgnlib support bilingual?</title><link>https://communities.bentley.com/thread/532940?ContentTypeID=1</link><pubDate>Tue, 16 Jul 2019 17:16:16 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:f713c702-0918-416e-9e21-4c960d7b8d5d</guid><dc:creator>Hyung Kim</dc:creator><description>&lt;p&gt;In CE, we use MS_GUIDGNLIBLIST. After applying the setting with your one of named expressions, the expected GUI was visible. Here enclosed an image for reference.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/343321/MS_5F00_GUIDGNLIBLIST.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does customize dgnlib support bilingual?</title><link>https://communities.bentley.com/thread/532584?ContentTypeID=1</link><pubDate>Mon, 15 Jul 2019 08:05:30 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:99387b34-eac3-4b25-863d-5f3f6396d6f2</guid><dc:creator>Changsong Ling</dc:creator><description>&lt;p&gt;After tested, succeed in MS V8i. But failed in CE.&lt;/p&gt;
&lt;p&gt;I1. Created a variable&amp;nbsp;PINEAPP_LAN&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/343321/Variable.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;2. Created two named expression IsPineAppCN/IsPineAppEN, if the variable value is CN/EN, the corresponding named expression are True/False accordingly.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/343321/NamedExp.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;3.Set Show/Hide Test as one of the named expression.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/343321/customize1.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It works fine in V8i. But none of them show in CE ribbon if visibility is set as one of the named expression. Also it is weird that even I have set the chinese menu to Always, it cannot show neither.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/343321/ribbon1.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Can anyone help me to have a look at the ribbon part? Thanks a lot!&lt;/p&gt;
&lt;p&gt;&lt;a href="https://communities.bentley.com/cfs-file/__key/communityserver-discussions-components-files/343321/PineApp.dgnlib"&gt;communities.bentley.com/.../PineApp.dgnlib&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does customize dgnlib support bilingual?</title><link>https://communities.bentley.com/thread/532555?ContentTypeID=1</link><pubDate>Mon, 15 Jul 2019 06:00:39 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:ae73d29a-007c-4a82-8e8b-cf0597f800f2</guid><dc:creator>Changsong Ling</dc:creator><description>&lt;p&gt;I tested again, if I used an existing named expression like &amp;quot;Is2DModel&amp;quot;, it works, the visibility can change.&lt;/p&gt;
&lt;p&gt;Then I created a new named expression which is same as &amp;quot;Is2DModel&amp;quot; except the Internal/External Name/Description, the test result is correct &amp;quot;False&amp;quot;, but the visibility cannot work.&lt;/p&gt;
&lt;p&gt;Maybe it is not the boolean or text string True/False issue, there are some other places.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does customize dgnlib support bilingual?</title><link>https://communities.bentley.com/thread/532536?ContentTypeID=1</link><pubDate>Mon, 15 Jul 2019 03:42:01 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:c723010a-a17e-427c-95fc-0e00a0e98bb1</guid><dc:creator>Changsong Ling</dc:creator><description>&lt;p&gt;Hello Marc,&lt;/p&gt;
&lt;p&gt;Thanks for your reply. It is very useful.&lt;/p&gt;
&lt;p&gt;I did test as per your example, there are some questions:&lt;/p&gt;
&lt;p&gt;1. I created a variable &amp;quot;MyVariable&amp;quot;, the value could be 0/1, True/False(all text string instead of boolean T/F)&lt;/p&gt;
&lt;p&gt;2. The xml link doesn&amp;#39;t work so I cannot download it. I created a new one as per the snapshot, and it should works, it can reture the valve of my text variable.&lt;/p&gt;
&lt;p&gt;3. But the visibility test failed by using my named expression. I have tried other existing expression which retures boolean True/False and OK. Even I have revised MyVariable to show True/False(text string) which looks same as the boolean True/False, but failed still. It looks visibility accept boolean True/False only.&lt;/p&gt;
&lt;p&gt;4. To get the boolean True/False, I&amp;#39;d like to know hot to set boolean T/F in variable, or convert it to boolean T/F in named expression as per text value of variable?&lt;/p&gt;
&lt;p&gt;Thanks a lot!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does customize dgnlib support bilingual?</title><link>https://communities.bentley.com/thread/532324?ContentTypeID=1</link><pubDate>Fri, 12 Jul 2019 10:07:49 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:6bc08298-66ed-4bea-90e5-f7425ee48584</guid><dc:creator>Marc Thomas</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You may be able to do this using Named Expressions using the value of configuration variable _USTN_LOCALE_LANGUAGE. This uses standard Windows codes, &amp;#39;en&amp;#39; for english and &amp;#39;zh-cn&amp;#39; for Chinese (there are other Chinese variations).&lt;br /&gt;The example illustrated below creates a test with a True/False result depending on the value of _USTN_LOCALE_LANGUAGE.&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/343321/pastedimage1562925451683v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Download the linked xml file and import it into the named Expression dialog in your DGNLIB (File &amp;gt; Import XML...)&lt;/p&gt;
&lt;p&gt;&lt;a href="/products/administration/f/product-administration-forum/182275/does-customize-dgnlib-support-bilingual//cfs-file/__key/communityserver-discussions-components-files/343321/IsLocaleEn.xml"&gt;/cfs-file/__key/communityserver-discussions-components-files/343321/IsLocaleEn.xml&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Use this Named Expression to control the visibility of the English menu:&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/343321/pastedimage1562925927628v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Create and apply a similar Named Expression for &amp;#39;zh-cn&amp;#39; or the variation that you are using.&lt;/p&gt;
&lt;p&gt;That should work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>