Import-NAVApplicationObjectLanguage
Import-NAVApplicationObjectLanguage
Imports strings in the specified language into text files that contain Microsoft Dynamics NAV application objects.
Syntax
Parameter Set: Default
Import-NAVApplicationObjectLanguage [-Source] <String[]> [-LanguagePath] <String[]> [-Destination] <String> [[-LanguageId] <String[]> ] [-Encoding <FileEncoding> ] [-Force] [-PassThru] [-Confirm] [-WhatIf] [ <CommonParameters>]
Detailed Description
Use the Import-NAVApplicationObjectLanguage cmdlet to import a language into the Microsoft Dynamics NAV application objects. For example, if you have exported multilanguage files in the Microsoft Dynamics NAV Development Environment, or by using the Export-NAVApplicationObjectLanguage cmdlet, you can import the strings into another version of the same application objects.
Parameters
-Destination<String>
Specifies the text file or folder where you want the result of the import to be put.
Aliases |
none |
Required? |
true |
Position? |
4 |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-Encoding<FileEncoding>
Specifies the encoding for the exported file. Valid values are Unicode, UTF7, UTF8, ASCII, UTF32, BigEndianUnicode, Default, and OEM. The default value is OEM, which is the default encoding for the Microsoft Dynamics NAV Development Environment.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-Force
Skips confirmation prompts when the cmdlet is run.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-LanguagePath<String[]>
Specifies the text file or files or folder with text files that contain the language-specific strings. The text files must have been exported from Microsoft Dynamics NAV in the development environment or by using the Export-NAVApplicationObjectLanguage cmdlet.
Aliases |
PSPath |
Required? |
true |
Position? |
3 |
Default Value |
none |
Accept Pipeline Input? |
True (ByValue) |
Accept Wildcard Characters? |
false |
-LanguageId<String[]>
Specifies the language or list of languages that you want to import, such as "DEU". If you do not set this parameter, all available languages are imported.
Aliases |
none |
Required? |
false |
Position? |
5 |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-PassThru
Specifies if you want to return an object for each application object and language ID with their language text values.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-Source<String[]>
Specifies the text file or folder that contains the Microsoft Dynamics NAV application objects that you want to import a language into. The cmdlet does not modify these text files.
Aliases |
none |
Required? |
true |
Position? |
2 |
Default Value |
none |
Accept Pipeline Input? |
True (ByValue, ByPropertyName) |
Accept Wildcard Characters? |
false |
-Confirm
Prompts you for confirmation before running the cmdlet.
Required? |
false |
Position? |
named |
Default Value |
false |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? |
false |
Position? |
named |
Default Value |
false |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.
Examples
-------------------------- EXAMPLE 1 --------------------------
Description
-----------
This example imports the ESP language into the Microsoft Dynamics NAV application object that is specified in the –Source parameter, TAB14.txt. The strings are imported from the text files in the ALL-ESP.txt file, and the result of the command is a text file in the RESULT folder, TAB14.txt, that includes captions in Spanish.
PS C:\> Import-NAVApplicationObjectLanguage –Source .\TAB14.TXT -LanguageId "ESP" -LanguagePath .\ALL-ESP.TXT -Destination .\RESULT\