Of course, we are trying to do the right thing, and not just for free software translations. If we transform the language codes, when and how do we do that? Before storing, or only when querying? We are currently going with a possible simplification on insert if we are not aware of the active (extended) locale normally doing separate things from the one with the simplified language code. This just means that we need to be very sure that our list of languages is fairly complete.
Re: language-specific rules probably inevitable
Of course, we are trying to do the right thing, and not just for free software translations. If we transform the language codes, when and how do we do that? Before storing, or only when querying? We are currently going with a possible simplification on insert if we are not aware of the active (extended) locale normally doing separate things from the one with the simplified language code. This just means that we need to be very sure that our list of languages is fairly complete.