Hi Greg, There are a couple errors in the JS console that reveal the issue. Html-tools doesn't attempt to localize language names until it has obtained the localized interface strings. Since you haven't hosted those, that request is failing, resulting in the success callback never firing and language names never being localized. Here's the relevant code:
https://github.com/apertium/apertium-html-tools/blob/master/assets/js/localization.js#L328-L336 I'm happy to see you've got something working (albeit with a little elbow grease). Html-tools isn't really designed as a set of components (unfortunately) so it's a bit difficult to integrate into an existing site. There's also not much documentation inside the code in terms of comments (this one is past-me's fault). [image: Sushain Cherivirala] *Sushain K. Cherivirala * Stanford University, M.S. in Computer Science '19 Carnegie Mellon University, B.S. in Computer Science '18 (713) 992-4043 | www.skc.name On Sat, Jul 20, 2019 at 2:34 PM Francis Tyers <fty...@prompsit.com> wrote: > El 2019-07-20 22:31, Francis Tyers escribió: > > El 2019-07-20 22:18, Grzegorz Kulik escribió: > >> I figured it out! The "index.eng.html" part, I mean. The translator is > >> not in testing anymore, so I moved it to > >> https://silling.org/translator I still don't know how to approach the > >> other two problems. If anyone could help, I would really appreciate > >> it. :) > >> > >> Greg > > > > I believe that to change the name of the language from the code you > > need to make the change in html-tools. > > > > Could you make an issue here: > > > > https://github.com/apertium/apertium-html-tools/issues > > > > Thanks! > > It would also be cool if you could link to Apertium here: > > https://silling.org/informacyje-o-maszinowym-translatorze/ > > :) > > F. > > > _______________________________________________ > Apertium-stuff mailing list > Apertium-stuff@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/apertium-stuff >
_______________________________________________ Apertium-stuff mailing list Apertium-stuff@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/apertium-stuff