Page 1 of 1

NavBoxes and translation

Posted: Mon Aug 29, 2016 5:10 pm
by mgiraud
I can see that there is some Work in progress regarding the templates concerning NavBoxes, e.g. Template:NavBox and Template:MachineNav, thanks to TheWombatGuru.

Will that job includes a solution for translation as it has been done in InfoBoxes?

The easiest solution for me is to create templates for fr, i.e. a Template:MachineNav/fr but it is probably not the best way to do the job. A good usage of template:Translation is probably better.

Re: NavBoxes and translation

Posted: Mon Aug 29, 2016 5:53 pm
by TheWombatGuru
Yes, these navbox templates will autotranslate as soon as I find the time to add that functionality.

Our vision is to not have subtemplates for different languages but let most templates autotranslate using the Template:Translation/{{2 letter language code}} templates.

Re: NavBoxes and translation

Posted: Mon Aug 29, 2016 7:21 pm
by mgiraud
Thanks.

I'll create MachineNav/fr as a temporary solution and remove it when you find the time to do the definitive solution for all navboxes.

Re: NavBoxes and translation

Posted: Mon Aug 29, 2016 11:45 pm
by TheWombatGuru
Template:MachineNav now autotranslates, will do the others soon :)

Re: NavBoxes and translation

Posted: Tue Aug 30, 2016 12:59 am
by TheWombatGuru
All of the navbox templates now autotranslate

Re: NavBoxes and translation

Posted: Tue Aug 30, 2016 5:09 am
by mgiraud
You are just too fast!

Thanks.

Re: NavBoxes and translation

Posted: Tue Aug 30, 2016 3:25 pm
by TheWombatGuru
haha, it wasn't that much work, I only had to replace the normal link [[ ]] brackets with Template brackets and throw in the TransLink template

Re: NavBoxes and translation

Posted: Tue Aug 30, 2016 6:21 pm
by mgiraud
I had a look at the new templates. My only regret is that there are no doc subpage.

I spend some time to understand what was the use of the "anchor" parameters :)

But well done! I already use your work.

Re: NavBoxes and translation

Posted: Tue Aug 30, 2016 6:30 pm
by TheWombatGuru
Yes, documentation is important, but I haven't gotten around to it yet. Expect it soon, but not asap