In German there is a formal ("Sie") and an informal ("Du") form. I would like to translate some software into informal German, notably woocommerce using transiflex, but new languages can only be added using their locale code.
There only seems to be de_DE as a locale. What's best to differentiate between the two forms, shouldn't there be another locale code just for the informal form, too?
Generally Gettext uses @ to distinguish language variants. So in this case it could be
de_DE@informal. This way the locale will be correctly handled by Gettext with fallback tode_DE(in contrast with suggestedde_DE-x-informalwhich will not fall back this way as Gettext will seeDE-x-informalas country code).You can find more on locales naming at https://www.gnu.org/software/gettext/manual/html_node/Locale-Names.html