Confirmed users
1,016
edits
No edit summary |
No edit summary |
||
| Line 109: | Line 109: | ||
HTML: | HTML: | ||
<pre> | |||
<html> | <html> | ||
<head> | <head> | ||
'''<meta http-equiv="Content-Language" Content="en-US, de">''' | '''<meta http-equiv="Content-Language" Content="en-US, de">''' | ||
<script type="text/javascript;version=1.8" src="./js/l20n-xml.min.js"></script> | <script type="text/javascript;version=1.8" src="./js/l20n-xml.min.js"></script> | ||
<link rel="resource" type="intl/l20n" '''href="./locales/main- | <link rel="resource" type="intl/l20n" '''href="./locales/main-{{ locale }}.lol"''' /> | ||
</head> | </head> | ||
<body> | <body> | ||
| Line 128: | Line 129: | ||
</body> | </body> | ||
</html> | </html> | ||
</pre> | |||
Now, the l20n framework will take the locales available for the document and sort them according to the user preference. In result the best locale out of the available ones will be picked and loaded. | Now, the l20n framework will take the locales available for the document and sort them according to the user preference. In result the best locale out of the available ones will be picked and loaded. | ||