gildor478 / ocaml-gettext

Other
13 stars 10 forks source link

Auto init #19

Open gildor478 opened 4 years ago

gildor478 commented 4 years ago

This feature request has been migrated from artifact #536 on forge.ocamlcore.org. It was assigned to user102.

user102 posted on 2010-03-06 16:08:28:

We should try to auto-init the library early, rather than relying on a call from main.

Because:

So the library should auto-init, using env variables and command line args. The current init with args should just ignore command line arguments, or check that they match previous ones. If no match between what has been used for auto-init and when calling init, just throw a warning telling every statically translated strings.