Developer Documentation Library > Data Model > Frequently asked questions > I am having trouble adding a new language to an MDM Document. Is there a predefined list of languages that you can use?
 
I am having trouble adding a new language to an MDM Document. Is there a predefined list of languages that you can use?
You can add a language to an MDM Document only if the language is registered on the system. You can use the MDM LanguageDefinitions object (see IDocument_Routing in the MDM Object Model Reference) to check whether a language is valid (using the LanguageDefinitions.IsValid property) and to get a list of valid languages. For an mrScriptBasic example of getting a list of valid languages, see Example 2: Getting a list of valid languages.
See also
Frequently asked questions