2

我最近在导出实体的翻译时遇到了一些问题。起初,我认为这个问题的解释要比功能区更深。但是通过一些测试,我发现它是我的LocLabels引起的问题。按钮本身(+内联翻译)正常工作!我在Ribbon-XML中定义了3种使用的语言(“荷兰语”,“法语”和“英语”),所有内容似乎都能正确翻译。但是,当我想出口该特定实体的翻译,似乎没有发生...CRM 2011 - 导出翻译问题 - Ribbon中的LocLabels问题

如果不是“$ LocLabels:”,我只是使用纯文本,一切似乎工作,我可以出口翻译为该实体。

的XML看起来如下:

CustomAction XML片断

<CustomAction Id="Sample.Grid.ave_student.CustomGroup.CustomAction" Location="Mscrm.HomepageGrid.ave_student.MainTab.Groups._children" Sequence="115"> 
    <CommandUIDefinition> 
     <Group Id="Sample.Grid.ave_student.CustomGroup.Group" Command="Sample.Grid.ave_student.CustomGroup.Command" Title="$LocLabels:Sample.Grid.ave_student.CustomGroup.Title" Sequence="85" Template="Mscrm.Templates.3.3"> 
     <Controls Id="Sample.Grid.ave_student.CustomGroup.Controls"> 
      <Button Id="Sample.Grid.ave_student.CustomGroup.Button.A" Command="Sample.Grid.ave_student.CustomGroup.Button.A.Command" Sequence="10" LabelText="$LocLabels:Sample.Grid.ave_student.CustomGroup.Button.A.LabelText" ToolTipTitle="$LocLabels:Sample.Grid.ave_student.CustomGroup.Button.A.LabelText" ToolTipDescription="$LocLabels:Sample.Grid.ave_student.CustomGroup.Button.A.Description" TemplateAlias="o1" Image16by16="$webresource:ave_eid16x16" Image32by32="$webresource:ave_eid32x32" /> 
     </Controls> 
     </Group> 
    </CommandUIDefinition> 
    </CustomAction> 

LocLabels XML片断

<LocLabels> 
    <LocLabel Id="Sample.Grid.ave_student.CustomGroup.Title"> 
    <Titles> 
     <Title languagecode="1043" description="HC" /> 
     <Title languagecode="1036" description="HC" /> 
    <Title languagecode="1033" description="HC" /> 
    </Titles> 
    </LocLabel> 
    <LocLabel Id="Sample.Grid.ave_student.CustomGroup.Button.A.Description"> 
    <Titles> 
     <Title languagecode="1043" description="Read eID" /> 
     <Title languagecode="1036" description="Read eID" /> 
    <Title languagecode="1033" description="Read eID" /> 
    </Titles> 
    </LocLabel> 
    <LocLabel Id="Sample.Grid.ave_student.CustomGroup.Button.A.LabelText"> 
    <Titles> 
     <Title languagecode="1043" description="Read eID" /> 
     <Title languagecode="1036" description="Read eID" /> 
    <Title languagecode="1033" description="Read eID" /> 
    </Titles> 
    </LocLabel> 
    <LocLabel Id="Sample.Grid.ave_student.CustomGroup.Button.A.ToolTipDescription"> 
    <Titles> 
     <Title languagecode="1043" description="Read eID" /> 
     <Title languagecode="1036" description="Read eID" /> 
     <Title languagecode="1033" description="Read eID" /> 
    </Titles> 
    </LocLabel> 
<LocLabels> 

是否有别人谁遇到同样的问题,我们呢?

+0

当您尝试导出翻译时会发生什么?它会抛出一个错误还是只是不包含导出的XML中的翻译,或者它不会按照您的建议做任何事情?另外,您是否拥有所提到的所有语言的语言包? –

+0

没有任何反应......例如,在“事件查看器”中没有条目。我们为所使用的语言安装了所有“语言包”。我们真的不知道我们做错了什么... – Freeetje

回答

0

我找到了解决这个问题的方法。这是来自导致问题的管理解决方案的特定“Loclabels”。出于某种原因,托管解决方案的loclabels以实体的正常“定制”输入,这就是为什么我无法导出翻译。它给了我一个“重复”翻译错误。删除loclabel后,我能够导出/导入翻译。