Dear all,
I'm experimenting with courses here and very happy with its potential. I'm going to teach a course in brazilan portuguese, so I obviously put xml:lang="pt-BR" on <pretext> tag in main.ptx. It works well since the text in the buttons like Previous, Next and Top were translated sucessfully, but some are not ok. Actually I get the following after build:
warning: * PTX:WARNING: could not translate string with id "print-preview" into language for code "pt-BR"
warning: * PTX:WARNING: could not translate string with id "print-preview" into language for code "pt-BR"
warning: * PTX:WARNING: could not translate string with id "papersize" into language for code "pt-BR"
warning: * PTX:WARNING: could not translate string with id "printing-options" into language for code "pt-BR"
warning: * PTX:WARNING: could not translate string with id "hide-hints" into language for code "pt-BR"
warning: * PTX:WARNING: could not translate string with id "print-header" into language for code "pt-BR"
warning: * PTX:WARNING: could not translate string with id "first-page" into language for code "pt-BR"
warning: * PTX:WARNING: could not translate string with id "running" into language for code "pt-BR"
warning: * PTX:WARNING: could not translate string with id "print-footer" into language for code "pt-BR"
warning: * PTX:WARNING: could not translate string with id "first-page" into language for code "pt-BR"
warning: * PTX:WARNING: could not translate string with id "running" into language for code "pt-BR"
warning: * PTX:WARNING: could not translate string with id "highlight-workspace" into language for code "pt-BR"
warning: * PTX:WARNING: could not translate string with id "print" into language for code "pt-BR"
warning: * PTX:WARNING: could not translate string with id "print-preview" into language for code "pt-BR"
warning: * PTX:WARNING: could not translate string with id "print-preview" into language for code "pt-BR"
warning: * PTX:WARNING: could not translate string with id "papersize" into language for code "pt-BR"
warning: * PTX:WARNING: could not translate string with id "printing-options" into language for code "pt-BR"
warning: * PTX:WARNING: could not translate string with id "print-header" into language for code "pt-BR"
warning: * PTX:WARNING: could not translate string with id "first-page" into language for code "pt-BR"
warning: * PTX:WARNING: could not translate string with id "running" into language for code "pt-BR"
warning: * PTX:WARNING: could not translate string with id "print-footer" into language for code "pt-BR"
warning: * PTX:WARNING: could not translate string with id "first-page" into language for code "pt-BR"
warning: * PTX:WARNING: could not translate string with id "running" into language for code "pt-BR"
warning: * PTX:WARNING: could not translate string with id "highlight-workspace" into language for code "pt-BR"
warning: * PTX:WARNING: could not translate string with id "print" into language for code "pt-BR"
warning: * PTX:WARNING: could not translate string with id "print-preview" into language for code "pt-BR"
warning: * PTX:WARNING: could not translate string with id "print-preview" into language for code "pt-BR"
warning: * PTX:WARNING: could not translate string with id "papersize" into language for code "pt-BR"
warning: * PTX:WARNING: could not translate string with id "printing-options" into language for code "pt-BR"
warning: * PTX:WARNING: could not translate string with id "print-header" into language for code "pt-BR"
warning: * PTX:WARNING: could not translate string with id "first-page" into language for code "pt-BR"
warning: * PTX:WARNING: could not translate string with id "running" into language for code "pt-BR"
warning: * PTX:WARNING: could not translate string with id "print-footer" into language for code "pt-BR"
warning: * PTX:WARNING: could not translate string with id "first-page" into language for code "pt-BR"
warning: * PTX:WARNING: could not translate string with id "running" into language for code "pt-BR"
warning: * PTX:WARNING: could not translate string with id "highlight-workspace" into language for code "pt-BR"
warning: * PTX:WARNING: could not translate string with id "print" into language for code "pt-BR"
Basically the same thing for the text in some buttons. Noticed it on the ones related to print, since I'm not using (yet) any Sage cells (for the running button I guess). I helped with some translation a few years ago, and I can do it again, if guided to handle the right files in pretext code. Please let me know how I can help here.
Also the tag <today /> gives the date in English, is it possible to have it in any other language?
Best, Alexandre.
P.S.: should this to be posted on pretext-dev too?