Hi Nicolas,
>>> The following patch should add the language option according to LANGUAGE
>>> keywords if babel package is explicitly loaded in preamble.
>>
>> I think this will be a great addition!
I just made some quick test of your patch and it works great! So I
completely agree.
>
> Albeit a very limited one: guessed language in only added when babel
> package is loaded _and_ it is different from the one set by the user.
I do not mind. I can have '#+LATEX_HEADER: \usepackage[en]{babel}' in
all my .org files by default and have the exporter override the language
setting based on the '#+LANGUAGE:' tag.
>
> If there is no objection, I'll push a slightly refactored version of
> that patch.
>
Pleas do so. And a big thanks for that addition!
Regards,
Andreas