I need romanian for my school reports, i want to write them in org mode.

Is there some #+LANG attribute? Do i need to set some emacs variables? I'd really like a per-file solution more

  • See this question. The dictionary is not completed for some languages, you may need to patch it. Oct 15, 2020 at 19:25
  • It sets the pdflang attribute but doesn't change the date format or table of contents... Oct 15, 2020 at 19:39
  • Yes, that's the missing part I mentioned... You have two choices: 1. Patch it locally in your configuration 2. Send a patch to Org mode. Oct 15, 2020 at 19:42
  • Oh, it's fixed now... I added #+LATEX_HEADER: \usepackage[romanian]babel and it seems to work now. even better, the #+LANGUAGE attribute regardless of what version the babel package is. nice Oct 15, 2020 at 19:45
  • Alright, so just using babel makes #+LANGUAGE work. Thanks, @FirminMartin Oct 15, 2020 at 19:49

1 Answer 1


I needed to add the following code to make #+LANGUAGE work:

#+LATEX_HEADER: \usepackage[romanian]{babel}

I don't know why, but removing the [romanian] breaks it. It can be any language because the only thing that matters is the #+LANGUAGE value now.

  • #+language: isn't used properly, for whatever I define as propely in \LaTeX{}, but is used when generation HTML C-c C-e h h. You need to add the language to #+class_options: [a4paper,romanian] or as you do, as an optional argument to package \usepackage[romanian]{babel}. You should probably also set \usepackage[T1]{fontenc} and \usepackage[AUTO]{inputenc}. At least that worked for me and swedish and #+language: sv.
    – Anders
    Feb 21, 2022 at 13:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.