On sabato 14 settembre 2019, at 19:41 +0800, Paul Wise wrote: > On Sat, Sep 14, 2019 at 3:28 PM Beatrice Torracca <beatri...@libero.it> wrote:
> Thanks for the API pointer, with that and some grepping in the > codebase I managed to add a few changes to make my proposal work: > > https://salsa.debian.org/debian/wiki.debian.org/commit/80ae82957ae6cd4e19bbeae55e68908bb4971683 > > It is already working on the Italian translation of the DebianReleases > page, it/DebianReleases links to it/DebianBuster but contains > <<DebianCodenameLink(stable)>>. Perfect!! and with no work at all to do for translators *bg* > > I did not find anything on a way to extract the iso-code of the language > > (that does not mean it does not exist). > > I found that macro.formatter.page.pi['language'] contains the language code. That happens when you know what you are doing :) Thanks a lot for this. Seems like a small detail maybe, but you made my day. beatrice