This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Script name internationalization

Tags: None
(comma "," separated)
frapell
Registered Member
Posts
14
Karma
0

Script name internationalization

Sat Dec 11, 2010 6:03 pm
Hi, i'm trying to have my script translated, and in my script.spec file i added:

Name[es]=blah

to have the name shown when the "es" locale is used (my case)

now, this works and the script name is shown in spanish in the list of scripts, but when i try to activate it, i get an exception, which is that the name do not match with the one used in ScriptableServiceScript.call (the english name is being used here)

* Is there a way to translate the name other than using "Name[XX]" ?

* Is there a way to know the name when calling ScriptableServiceScript.call instead of having the name hard-coded ?

* Where can i find API documentation, other than the "Scripting how to" ?

Thanks


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], Sogou [Bot]