How to localize material description in Materials.xml

How to localize material description in Materials.xml

Anonymous
Not applicable
532 Views
2 Replies
Message 1 of 3

How to localize material description in Materials.xml

Anonymous
Not applicable
Hello,

I have got a problem with localizing Materials.xml. I want to be able to use material names in my native language. As I see, Materials.xml has materials definition in some default languages, but my language is not one of them. How can I add my language material description and how can I make Inventor show my description when using these materials?

Thanks
0 Likes
533 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable


I am pasting some lines from Materials.xml, as you can see it has by default some languages, not my native language. How can I insert a new language for the materials?

<Style InternalName="1:Acetal Resin, Black" EditFlag="0" Density="1.425" YoungsModulus="3.585" PoissonsRatio="0.35" YieldStrength="68.21" UltimateTensileStrength="67.52" ThermalConductivity="0.24" LinearExpansion="8.5" SpecificHeat="1465.45" WeldmentMaterial="0">
<SubStyle Type="ColorStyle" Language="1033" Collection="Colors">Plastic (Black)</SubStyle>
<Name Language="1028" Description="">縮醛樹脂,黑色</Name>
<Name Language="1029" Description="">Polyacetátová pryskyřice, černá</Name>
<Name Language="1031" Description="">Acetal-Kunststoff, schwarz</Name>
<Name Language="1033" Description="">Acetal Resin, Black</Name>
<Name Language="1036" Description="">Résine à l'acétal (noire)</Name>
<Name Language="1038" Description="">Acetálgyanta, fekete</Name>
<Name Language="1040" Description="">Resina acetalica, nera</Name>
<Name Language="1041" Description="">Acetal Resin, Black</Name>
<Name Language="1042" Description="">아세탈 수지, 검은색</Name>
<Name Language="1045" Description="">Żywica acetalowa, czarna</Name>
<Name Language="1046" Description="">Resina de acetal, preto</Name>
<Name Language="1049" Description="">Полиацеталь, черный</Name>
<Name Language="2052" Description="">缩醛树脂,黑色</Name>
<Name Language="3082" Description="">Resina acetálica, negra</Name>
</Style>

Edited by: afirmation on Nov 11, 2008 6:36 PM
0 Likes
Message 3 of 3

Anonymous
Not applicable

Hello, almost 2 years have passed since you've asked, have you succeded in it?

 

I'm not sure about description - I too would like to know the answer (see my thread here http://forums.autodesk.com/t5/Autodesk-Inventor/Storing-extra-info-within-Physical-materials/m-p/279...),

 

but I suppose you can add the name for material in your native language if you know the decimal language code of it. Codes for some languages you'd find here http://www.science.co.il/language/locale-codes.asp?s=codepage

 

My native language (Russian) code is 1049 (is already among supported by default Inv library)

For example, code for Ukrainian is 1058. Thus to add Ukrainian material name I'd add line

<Name Language="1058" Description="">Bla-bla-bla</Name>

just before line
</Style>

 

To see it I guess your OS's regional settings should be somehow set to your language.

0 Likes