Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adaptation of the plugin 'Saas.ps1' (Web application Inventory) for German clients #277

Open
thenextuser opened this issue Jul 24, 2023 · 0 comments

Comments

@thenextuser
Copy link

thenextuser commented Jul 24, 2023

Hello developers,

keep up the great work!

I just wanted to mention the adaptation of the pre-installed plugin 'Saas.ps1' to the clients with German language settings, which I had already posted in the forum:
https://ask.ocsinventory-ng.org/12230/web-application-inventory-on-foreign-clients?show=12230#q12230

It has also been mentioned in another git-issue:
#269

The values for the variables are as follows:
$lang.Name : de-DE
$pwlang : Eintragsname

So the change in the code is as follows (as a basis the fragment of the script of the client version 2.10.1.0):

$lang = Get-Culture

if($lang.Name -eq "fr-FR"){
	$pwlang = "Nom d'enregistrement"
}elseif($lang.Name -eq "it-IT"){
	$pwlang = "Nome record"
}elseif($lang.Name -eq "es-ES"){
	$pwlang = "Nombre de registro"
}elseif($lang.Name -eq "de-DE"){
	$pwlang = "Eintragsname"
}else{
	$pwlang = "Record Name"
}

Many thanks for the implementation and best regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant