Problem:
In Hyphenator 3.3.0 the language code for Norwegian Bokmål is defined as
'no-nb', but should be 'nb-no' (format is 'language-region').
Fix:
Adding the following code will fix the problem without breaking existing
implementations:
Add to the supportedLang definition in Hyphenator.js:
'nb-no': 'no-nb.js',
Also line 113 in no-nb.js must be changed to:
Hyphenator.languages['no'] = Hyphenator.languages['no-nb'] =
Hyphenator.languages['nb-no'] = {
To be more correct, no-nb.js should also be renamed nb-no.js
Original issue reported on code.google.com by bjorn%ga...@gtempaccount.com on 20 May 2011 at 7:45
Original issue reported on code.google.com by
bjorn%ga...@gtempaccount.com
on 20 May 2011 at 7:45