Re: [Wikitech-l] Documentation/Examples on enabling localization in Gadgets

2019-11-27 Thread Gergő Tisza
On Tue, Nov 26, 2019 at 2:39 PM Egbe Eugene wrote: > Is there any documentation or Gadget I can have a quick look at yo be able > to learn how to enable translation in gadgets? > The common but not too great approach is to have separate per-language JS or JSON pages which put the messages into s

Re: [Wikitech-l] Documentation/Examples on enabling localization in Gadgets

2019-11-27 Thread Egbe Eugene
Thanks very much Niklas. I also found https://en.wikipedia.org/wiki/User:%D7%A2%D7%A8%D7%9F/veReplace.js On Wed, 27 Nov 2019 at 14:44 Niklas Laxström wrote: > ke 27. marrask. 2019 klo 0.38 Egbe Eugene (agboreug...@gmail.com) > kirjoitti: > > > > Hi All, > > > > Is there any documentation or Gadg

Re: [Wikitech-l] Documentation/Examples on enabling localization in Gadgets

2019-11-27 Thread Niklas Laxström
ke 27. marrask. 2019 klo 0.38 Egbe Eugene (agboreug...@gmail.com) kirjoitti: > > Hi All, > > Is there any documentation or Gadget I can have a quick look at yo be able > to learn how to enable translation in gadgets? The only example I know is https://commons.wikimedia.org/wiki/Help:Gadget-ProveIt