#gettext #deepl assisted #i10n of #po files

$ msgget # copy msgid as msgstr to new file

script:
---
#!/usr/bin/bash

read msg

# curl the msg via deepl api | jq --raw the output
---

$msgfilter --keep-header -src.po ./script

# pay attention to encoding in *.po header

et voilà, basic, crude translation of thousands of lines in more than 30 languages

Afterthought: I deal with newlines via sed /\\n// , sometimes via #vim

#translation #i10n #gnu #unix #linux #hobby #bash #m16n

Další článek ze seriálu o Smalltalku 80 který vyšel v originále v časopisu Byte 81/08

https://caryo.space/article/15

#smalltalk #larrytesler #ui #ux #objektoveprogramovani # objectoriented #windowgui #XEROX #PARC #m16n #strojovypreklad #machinetranslation #deepl #byte #byte81 #cz #itcesky

Prostředí Smalltalku

Povídaní o grafickém programátorském a uživatelském prostředí, Smalltalku-80, oknech, myších a funkci kopírovat-vložit.

@Wuzzy intrigued enough and tried it out, but it still has a long way to go before it's actually useful. But, but, thanks for the tip. Always on a lookout for #m16n projects, esp LLM I can play with offline
Kult umělé inteligence

Jak jeden spisovatel po návštěvě každoroční technologické konference pocítil, že se mu budoucnost hroutí