Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Firefox has a list of built-in languages that are used to set the HTTP_ACCEPT_LANGUAGE header. How do I add a custom one that's not on the list?

share|improve this question

3 Answers 3

Is this what you're looking for?

Tools -> Options -> Content ->  Languages -> Select a language to add

It's from a similar post.

EDIT:

As far as I can tell, this GUI option just changes the preference "intl.accept_languages" in about:config. You could edit this yourself to change it to a custom value. I'm not sure if you can put language files somewhere to get a custom language to work or not.

share|improve this answer
    
How do you add an unlisted language? –  MItch Jul 8 '10 at 21:06
    
@MItch I just typed in the two letter code for the language and it worked for me. –  AndrejaKo Feb 27 '11 at 10:35

You can use about:config to edit the list of language codes:

Enter about:config into address field, find the setting *intl.accept_languages*. Its value is the list of language codes to send as "Accept-Language". The list is comma-separated in descending priority. You can enter any code you like; the codes will even be displayed in the standard pref dialog (see mouche's answer), where you can delete them later (just not add them).

As an aside: Why do you need this? I have never encountered a website that supports more than the (extensive) set of standard tags as defined in ISO-639. Which special tags do you want to use, and why?

share|improve this answer

Firefox has a section on their website where you can download and add custom languages to your Firefox:

https://addons.mozilla.org/en-US/firefox/browse/type:3

share|improve this answer
    
How do you add an unlisted language? –  MItch Jul 8 '10 at 21:06
    
-1 No, that's not for adding languages to the list of accepted languages, that's for changing the language of Firefox' UI. –  sleske Jul 8 '10 at 21:12

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.