Page 1 of 1

Setting language for NoScript

Posted: Sat Apr 25, 2009 5:09 am
by elipsett
Is there any way to set the language used by the NoScript click menu? Or is this automatically set to whatever FireFox itself is using?

=====
Edward Lipsett
Fukuoka, Japan

Re: Setting language for NoScript

Posted: Sat Apr 25, 2009 5:17 am
by GµårÐïåñ
If there is a localized translation available for NS, then it will inherit from the interface language to use it. Otherwise, it will default to English.

Re: Setting language for NoScript

Posted: Sat Apr 25, 2009 8:54 am
by elipsett
OK, that's what I figured, judging from what happens.
Thanks for the confirmation.

No way to override it and force a different language?

Re: Setting language for NoScript

Posted: Sat Apr 25, 2009 9:31 am
by Tom T.
For curiosity only, I found these in the NS Extension folder inside the Fx Profile Folder:

Components\noscriptService.js, search "en-us" and found only a short way down from the top: ("content/en-US")

Components\noscript.jar, lots of matches for various languages, but this looked interesting:

Code: Select all

<stringbundle id="about-strings" src="chrome://noscript/locale/about.properties"/><stringbundle id="about-stringsFB" src="chrome://noscript/content/en-US/about.properties"/>
But I personally wouldn't mess with any of this without a green light from Giorgio!!!!! ... curiosity only. Perhaps there is a way to override.

Giorgio?

Re: Setting language for NoScript

Posted: Sat Apr 25, 2009 9:35 am
by elipsett
I gather you're running a US-EN system? So it is impossible to tell if this is the default, the override setting, or something That Must Not Be Touched... I'll wait for a pronouncement from above.

Thanks!

Re: Setting language for NoScript

Posted: Sat Apr 25, 2009 9:37 am
by Tom T.
Yes, I am. My "question" is whether this could be overwritten manually. But certainly it might be
something That Must Not Be Touched...
I'll wait for a pronouncement from above.
Excellent idea! :)

Re: Setting language for NoScript

Posted: Sat Apr 25, 2009 11:06 am
by Giorgio Maone
You can set the general.useragent.locale about:config preference to your preferred locale, but it will change also the browser's language if available.

Re: Setting language for NoScript

Posted: Sat Apr 25, 2009 11:12 am
by elipsett
Thank you, Giorgio.
Not the best solution, but a very definite answer!

=====
Edward Lipsett
Fukuoka, Japan

Re: Setting language for NoScript

Posted: Sun Apr 26, 2009 3:40 am
by GµårÐïåñ
elipsett wrote:OK, that's what I figured, judging from what happens.
Thanks for the confirmation.

No way to override it and force a different language?
Well Giorgio beat me to it, so make the best of the solution and good luck.