Wikisource is using WebFonts (in some subdomains): how are the language codes added there?
Nemo
Nick White, 19/11/2012 10:51:
In case the previous description was unclear, below is an example of what the extension does:
original wikitext:
Hello this is English, τηφσ ισ θοδδω, and back to English again.
processed to become this:
Hello this is English, <span lang="grc">τηφσ ισ θοδδω,</span> and back to English again.
The span attributes can be configured with a global configuration variable, as can the range of characters that should be enclosed in it.
Again, any response would be very welcome.
Nick
Mediawiki-i18n mailing list Mediawiki-i18n@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-i18n
By typing <span lang="he">שלום</span> or an appropriate template using a keyboard.
This can be done using automatic or semi-automatic replacement, of course. That's what I did for much of Gesenius' Hebrew Grammar on the English Wikisource, using AWB.
2012/11/19 Federico Leva (Nemo) nemowiki@gmail.com:
Wikisource is using WebFonts (in some subdomains): how are the language codes added there?
Nemo
Nick White, 19/11/2012 10:51:
In case the previous description was unclear, below is an example of what the extension does:
original wikitext:
Hello this is English, τηφσ ισ θοδδω, and back to English again.
processed to become this:
Hello this is English, <span lang="grc">τηφσ ισ θοδδω,</span> and back to English again.
The span attributes can be configured with a global configuration variable, as can the range of characters that should be enclosed in it.
Again, any response would be very welcome.
Nick
Mediawiki-i18n mailing list Mediawiki-i18n@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-i18n
Wikisource-l mailing list Wikisource-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikisource-l
wikisource-l@lists.wikimedia.org