This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Translation of class names based on "language" property on metadata card

Hi

Is it possible to translate document class names based on a 'Language'-property on the metadata card?

Example:
Our class names are all written in German (i.e. Pr?sentation)  --  which stands for presentation in German
We want the class name to be translated whenever the value list item 'English' is selected in the metadata card

I tried this using Metadata Card Configuration, but it did not work (maybe the object name is a simple concatenation of properties?).

Thanks for your feedback.

Cheers
Peter
Parents

  • The built-in functionality won't work either...

    The class names are shown in the translated language in the metadata card (Class: Presentation)

    But in the object title (which is a simple concatenated property ([Class] - [Name of document]), M-Files still pulls the original class name from the vault configuration (Pr?sentation - [Name of document]).


    Hi Peter,

    I misunderstood your question - I didn't realise that you were using this as part of a concatenated property for the name. I thought that this question was just about the visual display of the class name.

    I think, in this case, I would probably use code to calculate the document title rather than using the metadata card configuration. I personally would do this because metadata card configuration rules do not necessarily fire in all situations (e.g. if an object is created via the API).

    Regards,

    Craig.
Reply

  • The built-in functionality won't work either...

    The class names are shown in the translated language in the metadata card (Class: Presentation)

    But in the object title (which is a simple concatenated property ([Class] - [Name of document]), M-Files still pulls the original class name from the vault configuration (Pr?sentation - [Name of document]).


    Hi Peter,

    I misunderstood your question - I didn't realise that you were using this as part of a concatenated property for the name. I thought that this question was just about the visual display of the class name.

    I think, in this case, I would probably use code to calculate the document title rather than using the metadata card configuration. I personally would do this because metadata card configuration rules do not necessarily fire in all situations (e.g. if an object is created via the API).

    Regards,

    Craig.
Children
No Data