Re: [racket-users] Re: i18n / translations

2019-10-12 Thread Alexander Shopov
You're overgeneralising. Po-files support more things than string constants format however that is not important in the context of translating Racket. You can convert string constants to po, translate and then convert back. Comments can become translator comments. Pointers can be modelled with

Re: [racket-users] Re: i18n / translations

2019-10-11 Thread Roman Klochkov
It is not possible to translate po-file to string-constants, because msgid "One file removed" msgid_plural "%d files removed" msgstr[0] "%d slika je uklonjena" msgstr[1] "%d datoteke uklonjenih" msgstr[2] "%d slika uklonjenih" cannot be represented in string-constants. And vice versa,

Re: [racket-users] Re: i18n / translations

2019-10-02 Thread Alexander Shopov
String constants: https://docs.racket-lang.org/string-constants/index.html https://github.com/racket/string-constants I agree they do not support plurals and context, which should mean it would be possible to convert the s-expressions (of Racker messages, not the general case) to po-file

Re: [racket-users] Re: i18n / translations

2019-10-02 Thread Roman Klochkov
What is racket's own one? srfi-29? String-constants? Neither of them support plurals and contexts. Or do you mean something else? вторник, 1 октября 2019 г., 16:06:35 UTC+5 пользователь Alexander Shopov написал: > > We should be able to convert to and from po format to racket's own one. > > На

Re: [racket-users] Re: i18n / translations

2019-10-01 Thread Alexander Shopov
We should be able to convert to and from po format to racket's own one. На вт, 1.10.2019 г. в 11:11 ч. Bogdan Popa написа: > This is great! Thank you. > > Roman Klochkov writes: > > > Now we have gettext: https://docs.racket-lang.org/gettext/index.html > > > > суббота, 9 февраля 2019 г.,

Re: [racket-users] Re: i18n / translations

2019-10-01 Thread Bogdan Popa
This is great! Thank you. Roman Klochkov writes: > Now we have gettext: https://docs.racket-lang.org/gettext/index.html > > суббота, 9 февраля 2019 г., 18:56:59 UTC+5 пользователь cwebber написал: >> >> How are people currently translating their programs? >> I expected to see a gettext library