Remix.run Logo
on_the_train 11 hours ago

I'm also trying to avoid the gettext monstrosity to be introduced into our c++ codebase after making equality great experiences with a self-build solution in previous teams. It's ok so solve easy problems by yourself. Good for the author for thinking for himself.

AndriyKunitsyn 8 hours ago | parent [-]

It is okay to solve easy problems by yourself. It is not okay to treat hard problems as easy problems because you lack domain knowledge.

Compared to gettext, OP's solution doesn't have positional formatting or support for additional plural forms.

on_the_train 2 hours ago | parent [-]

Yup, it's a matter of understanding your scope. Positional formatting is pretty easy to add. But plural forms is where complexity explodes