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 mshs
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,
(dont-e
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 a
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.
>
> На в
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 г., 18:56:
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 o
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 or something, but haven't.
>
> I see that DrRacket is trans
look into: https://github.com/racket/string-constants
for the way DrRacket gets translations/internationalization
On Saturday, February 9, 2019 at 2:56:59 PM UTC+1, cwebber wrote:
>
> How are people currently translating their programs?
> I expected to see a gettext library or something, but have
8 matches
Mail list logo