Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Simplified sample code in "jQuery.preferCulture"

After having read this a couple of times now, having the HTML markup at
the start of the code sample does not help at all. It takes some time to
figure out that the first line duplicates the description of the
sentence before "if the application has included only the neutral "fr"
  • Loading branch information...
commit 06ec37a22bba5267ecf896c63abfe753dccd0689 1 parent 210befd
@eric-brechemier eric-brechemier authored
Showing with 0 additions and 3 deletions.
  1. +0 −3 
3 
@@ -117,8 +117,6 @@ restarts using the corresponding neutral cultures. For example, if the
application has included only the neutral "fr" culture, any of these would
select it:
-&lt;script src="" type="text/javascript">&lt;/script>
-&lt;script type="text/javascript">
alert( // "fr"
@@ -127,7 +125,6 @@ alert( // "fr"
jQuery.preferCulture(["es-MX", "fr-FR"]);
alert( // "fr"
In any case, if no match is found the neutral English culture "en" is selected
Please sign in to comment.
Something went wrong with that request. Please try again.