08:36:11 <KwBot> [nikola-netlify-cms] uyar opened pull request #15 (uyar:more-frontmatter-fields): Fix #8 - Add author, updated date and status to frontmatter https://github.com/getnikola/nikola-netlify-cms/pull/15 13:49:54 <clabaut> Hello, 13:52:28 <clabaut> I'd like to translate the categories and tags according to TAG_TRANSLATIONS and CATEGORY_TRANSLATIONS. do you know how can I access those variables in the templates (for examle in tag.tmpl) ? Or can you give me some hints of where I shall look for documentation or to which source file I shall look ? 13:54:27 <ChrisWarrick> clabaut: https://getnikola.com/template-variables.html 13:55:00 <felixfontein> clabaut: take a look at ClassificationTranslationManager in nikola/utils.py 13:55:23 <felixfontein> that one is handling these options. I don't know whether they are available in templates though 13:56:16 <clabaut> Thanks a lot, I will look to both ! 13:56:57 <ChrisWarrick> I can’t see anything related to that in template_variables, so I guess those translations are applied automatically? 13:57:26 <felixfontein> ChrisWarrick: I think they are; they are mostly used for adding correct links 14:04:39 <clabaut> @ChrisWarrick, Indeed it looks like I've nothing about category and tags translation in tags.tmpl, but only in tag pages… Any hint on how to get this info in tags.tmpl and in post pages ? 14:05:42 <ChrisWarrick> clabaut: I’m not sure if you can do that with the current codebase 14:05:59 <ChrisWarrick> clabaut: create a github issue; as a workaround, you could put those in the global context and access them directly 14:06:38 <felixfontein> also, it might help if you write there what you actually want to achieve in the end 14:07:39 <clabaut> ChrisWarrick: Thanks for the tip of the global context it will do for my use case I think. 14:08:57 <clabaut> felixfontein: I have a bilingual site with some post not translated. All my categories and labels are in english, but I'd like to see them translated in the french pages. 14:12:28 <felixfontein> that's probably something you have to change in Nikola itself. doing that in a template sounds very painful (if possible at all). 14:13:22 <felixfontein> also, that's something that's in general impossible with the system. the system only allows to create links between tags/categories in different languages; there could be several possibilities for one term in another language. just picking a random one (or all) would be wrong in general. 14:14:02 <felixfontein> that's why the current system assumes you translate the tags when translating, and only adds links between tags and (potential) translations 16:33:35 <KwBot> [nikola-netlify-cms] uyar opened pull request #16 (uyar:faithful-edit): Faithful edit https://github.com/getnikola/nikola-netlify-cms/pull/16 16:35:09 <KwBot> [nikola-netlify-cms] uyar closed pull request #16 (uyar:faithful-edit): Faithful edit https://github.com/getnikola/nikola-netlify-cms/pull/16 16:37:53 <KwBot> [nikola-themes] anderbubble opened issue #185: [bootstrap4] missing css, js files https://github.com/getnikola/nikola-themes/issues/185 17:06:59 <KwBot> [nikola-netlify-cms] uyar reopened pull request #16 (uyar:faithful-edit): Faithful edit https://github.com/getnikola/nikola-netlify-cms/pull/16 17:20:24 <clabaut> felixfontain: I've tried translating the link, but as some posts are english only I end up with english and french tags (says "product" and "produit") in the frenchh "tags and categories" pages whereas I'd like to see only french tags (eg "produit") which links to the french "produit" tag page (where I can see link to the english "product" page). 17:20:50 <clabaut> (I mean: I've tried translating the tags…) 17:33:48 <clabaut> Usign a translation dict in the global context plus two minor modifications to post_helpers.tmpl and tags.tmpl did the job. 17:33:59 <clabaut> Thank you very much for your help. 17:34:25 <clabaut> Tell me if you think my use case need a github issue to be opened and I'll do it. 19:17:42 <KwBot> [nikola-themes] Kwpolska closed issue #185: [bootstrap4] missing css, js files https://github.com/getnikola/nikola-themes/issues/185 19:19:10 <KwBot> [nikola-netlify-cms] Kwpolska closed pull request #16 (uyar:faithful-edit): Faithful edit https://github.com/getnikola/nikola-netlify-cms/pull/16 19:19:11 <KwBot> [nikola-netlify-cms] Kwpolska closed issue #8: Missing frontmatter fields in config.yml https://github.com/getnikola/nikola-netlify-cms/issues/8 19:19:11 <KwBot> [nikola-netlify-cms] Kwpolska closed pull request #15 (uyar:more-frontmatter-fields): Fix #8 - Add author, updated date and status to frontmatter https://github.com/getnikola/nikola-netlify-cms/pull/15 21:01:38 <KwBot> [nikola] Kwpolska closed pull request #3336 (okin:remove_python2_aliases): Remove indirection for accessing str / bytes. https://github.com/getnikola/nikola/pull/3336 21:14:33 -travis-ci:#nikola- getnikola/nikola#10787 (master - 910d7fc : Chris Warrick): The build passed. 21:14:33 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/14da5f9a7540...910d7fc865cf 21:14:33 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/652688666 21:18:33 <travis-ci> okin/nikola#187 (remove_python2_aliases - 9977af1 : Chris Warrick): The build was broken. 21:18:33 <travis-ci> Change view: https://github.com/okin/nikola/compare/b02d81984c85...9977af1e2343 21:18:33 <travis-ci> Build details: https://travis-ci.com/okin/nikola/builds/149709344 22:24:10 -travis-ci:#nikola- [PLUGINS] getnikola/plugins#1574 (fix-tests - df8d6ee : Chris Warrick): The build passed. 22:24:10 -travis-ci:#nikola- [PLUGINS] Change view: https://github.com/getnikola/plugins/commit/df8d6ee50acb 22:24:10 -travis-ci:#nikola- [PLUGINS] Build details: https://travis-ci.org/getnikola/plugins/builds/652722021 22:24:29 <KwBot> [plugins] Kwpolska closed pull request #324 (o1knives:patch-1): Removed space after SIDEBAR_MAXIMUM_POST_COUNT https://github.com/getnikola/plugins/pull/324 22:26:13 -travis-ci:#nikola- [PLUGINS] getnikola/plugins#1576 (master - 679af72 : Chris Warrick): The build passed. 22:26:13 -travis-ci:#nikola- [PLUGINS] Change view: https://github.com/getnikola/plugins/compare/c9eb2bca9bd0...679af72f0d0e 22:26:13 -travis-ci:#nikola- [PLUGINS] Build details: https://travis-ci.org/getnikola/plugins/builds/652723970