Hello,
Is there any way via powershell to Export NAV Language without tooltips?
Thanks in advance!
*This post is locked for comments
Hello,
Is there any way via powershell to Export NAV Language without tooltips?
Thanks in advance!
*This post is locked for comments
to process the exported textfile in powershell you could use code like
foreach($line in Get-Content .\file.txt) {
if($line -match $regex){
# work here
}
}
Thanks for your help. I was expecting that powershell could do it in a more direct way via parameters but workarounds work also ofc. I did something similar. I've marked and bookmarked all the lines containing "P8631-1033-L999" on notepad++ and in the search menu deleted all the bookmarked lines.
open the exported language file (e.g. languages.txt) in excel, separate the contents in 2 columns, delimiter is ':'.
activate filters for the columns
filter first column (Tags, e.g. R4-N2-C1-P8631-A1033-L999) with text filter "Ends not with P8631-A1033-L999"
select the filtered lines, copy that contents to a new excel tab.
voila! thats the exported language contents without all the tooltips. export the 2. tab as text file with the same format.
for all, who are not familiar with exporting the language captions using powershell:
* export all nav objects as text with cmdlet Export-NAVApplicationObject, creates text file allobjects.txt
* export all captions using cmdlet Export-NAVApplicationObjectLanguage, file allobjects.txt is given as parameter
for details follow valgameiro.com/how-to-export-translations-from-a-nav-2015-database-using-powershell
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,269 Super User 2024 Season 2
Martin Dráb 230,198 Most Valuable Professional
nmaenpaa 101,156