User:Glande-pas

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search

I made a userscript to facilitate using the formidable resource that is this wiki for non-English players, without needing to learn all the English names of places, skills, sets, etc. It inserts translations for page titles, and a few other types of resources like skills, sets, achievements.

To use it, follow these simple steps:

  1. Ensure you’re logged in
  2. Create a user page for yourself (with any content there, it doesn’t matter)
  3. Under your user page, create a common.js file (to add javascript that will be loaded on every UESP wiki page you visit) and copy the following code:
mw.loader.load(mw.util.getUrl('User:Glande-pas/translate-titles.js', {action: 'raw', ctype: 'text/javascript', lang: 'fr', links: 'tooltip'}))

You can change the parameter values to change the translation language and appearance of translations.

  • For the lang parameter, supported values are: 'de', 'es', 'fr' (used in example above), 'jp', 'ru', and 'zh'.
  • For the links parameter, supported values are:
    • 'tooltip' (used in example above), places a dotted line under translated words and when hovering them, shows translations in a tooltip
    • 'replace' replaces translated words with their translations, and shows the original English text as a tooltip
    • 'append' appends the translation (smaller, and between brackets) after the translated words