clear
{{language.name}} Neniu lingvo trovita.
swap_horiz
{{language.name}} Neniu lingvo trovita.
search
FlamingTofu
2012-11-10 22:00
I wrote a simple user script to add default languages at the top of language dropdowns for easy access.

https://gist.github.com/4052448

Change the marked line to configure which languages to show.

I've only tested this script in Chrome; I don't know how well it will work in other browsers.
kaŝi la respondojn
sacredceltic
2012-11-12 17:45
Hi !

Could you please explain how you install this in Chrome ?

Thanks
kaŝi la respondojn
FlamingTofu
2012-11-12 19:13
I used a userscripts extension called Tampermonkey:

https://chrome.google.com/webst...jmpbldmpobfkfo

After installing, open up Tampermonkey -> Options and press New Userscript (a tab on the far right). Paste the code there, edit the language list, and press Save.
kaŝi la respondojn
sacredceltic
2012-11-12 20:14
I tried to install it in Blank Canvas Script Handler but it doesn't want to save. Do you know if there's a problem doing so ?
kaŝi la respondojn
FlamingTofu
2012-11-12 21:04
Hmmm. There appears to be a bug in Blank Canvas; it's very picky about the UserScript headers :/

I've fixed the script to work around it.
kaŝi la respondojn
sacredceltic
2012-11-12 21:58
I managed to save it thanks to your correction, but it doesn't work. Do you think I need to restart Chrome ?
kaŝi la respondojn
sacredceltic
2012-11-12 23:17
well, tried that and that doesn't work, still...
sacredceltic
2012-11-12 17:58
It would be even nicer if you could use the languages that are parametered in the language field of the settings http://tatoeba.org/epo/user/settings
Sbgodin
2012-11-12 18:06
Nice idea. My script only showed the few languages I know, but yours is nicer :-) One time, one may need to select the other languages.

Thanks for you work!