ng-first
09-21-2007, 06:02 AM
Hi all :-),
We have extend the masterdata class, adding several attribute: for example TRATTAMENTO, DIMENSIONI, DUREZZA_HB,etc. etc. ...
We assigned to them, the same <DisplayName> value.
In this way:
...
<Attribute>
TRATTAMENTO
<DisplayName>TRATTAMENTO</DisplayName>
<Index>7</Index>
<Visible>true</Visible>
<IncludeIn2DBOM>true</IncludeIn2DBOM>
</Attribute>
....
But in this case, if we run model manager using english locale, they appear in italian.
So, we would like that if we run model manager using english locale, then they appear in english or, if we run model manager using spanish locale, then they appear in spanish, and so on ...
To do this, I added a row in each of locale files messages: I mean, that files contained in the directory "C:\Programmi\CoCreate\OneSpace Manager 2006\lib\nls\msg\...".
For example for the TRATTAMENTO attribute, I add this rows:
1) 519 TREATMENT --> in C:\Programmi\CoCreate\OneSpace Manager 2006\lib\nls\msg\C\awm_stda.msg file;
2) 519 TRATTAMENTO --> in C:\Programmi\CoCreate\OneSpace Manager 2006\lib\nls\msg\italian\awm_stda.msg file;
3) 519 TRAITEMENT --> in C:\Programmi\CoCreate\OneSpace Manager 2006\lib\nls\msg\french\awm_stda.msg file;
4) 519 TRATAMIENTO --> in C:\Programmi\CoCreate\OneSpace Manager 2006\lib\nls\msg\spanish\awm_stda.msg file;
5) 519 BEHANDLUNG --> in C:\Programmi\CoCreate\OneSpace Manager 2006\lib\nls\msg\german\awm_stda.msg file;
and in our customized xml file I change the attribute tag in this way:
....
<Attribute>
TRATTAMENTO
<DisplayName catalog="awm_stda" msg_num="519">TRATTAMENTO</DisplayName>
<Index>7</Index>
<Visible>true</Visible>
<IncludeIn2DBOM>true</IncludeIn2DBOM>
</Attribute>
....
I can't undestand the reason why, when I run model manager using english locale, I always see the TRATTAMENTO dysplay name in the attribute windows, and not the corrisponding translation: in this case, TREATMENT instead of TRATTAMENTO.
Can anyone help me?
Can anyone explain to me how implementing the translation of the customized attributes?
I'm working with Model Manager 1500B.
Thanks to all,
Nadia
We have extend the masterdata class, adding several attribute: for example TRATTAMENTO, DIMENSIONI, DUREZZA_HB,etc. etc. ...
We assigned to them, the same <DisplayName> value.
In this way:
...
<Attribute>
TRATTAMENTO
<DisplayName>TRATTAMENTO</DisplayName>
<Index>7</Index>
<Visible>true</Visible>
<IncludeIn2DBOM>true</IncludeIn2DBOM>
</Attribute>
....
But in this case, if we run model manager using english locale, they appear in italian.
So, we would like that if we run model manager using english locale, then they appear in english or, if we run model manager using spanish locale, then they appear in spanish, and so on ...
To do this, I added a row in each of locale files messages: I mean, that files contained in the directory "C:\Programmi\CoCreate\OneSpace Manager 2006\lib\nls\msg\...".
For example for the TRATTAMENTO attribute, I add this rows:
1) 519 TREATMENT --> in C:\Programmi\CoCreate\OneSpace Manager 2006\lib\nls\msg\C\awm_stda.msg file;
2) 519 TRATTAMENTO --> in C:\Programmi\CoCreate\OneSpace Manager 2006\lib\nls\msg\italian\awm_stda.msg file;
3) 519 TRAITEMENT --> in C:\Programmi\CoCreate\OneSpace Manager 2006\lib\nls\msg\french\awm_stda.msg file;
4) 519 TRATAMIENTO --> in C:\Programmi\CoCreate\OneSpace Manager 2006\lib\nls\msg\spanish\awm_stda.msg file;
5) 519 BEHANDLUNG --> in C:\Programmi\CoCreate\OneSpace Manager 2006\lib\nls\msg\german\awm_stda.msg file;
and in our customized xml file I change the attribute tag in this way:
....
<Attribute>
TRATTAMENTO
<DisplayName catalog="awm_stda" msg_num="519">TRATTAMENTO</DisplayName>
<Index>7</Index>
<Visible>true</Visible>
<IncludeIn2DBOM>true</IncludeIn2DBOM>
</Attribute>
....
I can't undestand the reason why, when I run model manager using english locale, I always see the TRATTAMENTO dysplay name in the attribute windows, and not the corrisponding translation: in this case, TREATMENT instead of TRATTAMENTO.
Can anyone help me?
Can anyone explain to me how implementing the translation of the customized attributes?
I'm working with Model Manager 1500B.
Thanks to all,
Nadia