https://github.com/b-coimbra/org-i18n
Internationalization (i18n) for org-mode HTML export
https://github.com/b-coimbra/org-i18n
i18n org-mode
Last synced: about 2 months ago
JSON representation
Internationalization (i18n) for org-mode HTML export
- Host: GitHub
- URL: https://github.com/b-coimbra/org-i18n
- Owner: b-coimbra
- Created: 2022-02-21T23:06:47.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-02-21T23:07:10.000Z (about 3 years ago)
- Last Synced: 2025-01-28T17:22:12.928Z (4 months ago)
- Topics: i18n, org-mode
- Language: JavaScript
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
Awesome Lists containing this project
README
#+TITLE: Org-mode Internationalization (i18n) for HTML export
Simple module to switch between languages in an org-mode HTML export.
* How to use
1. Import *org-i18n* into your .org file by adding the following line in the header:
#+begin_src org
,#+setupfile: https://b-coimbra.github.io/org-i18n/org-i18n.setup
#+end_src2. Apply a =lang= [[https://orgmode.org/manual/Tags.html][tag]] in the headline to specify which language the HTML document should show:
#+begin_src org
,* Headline in English :lang:en:Some text in english.
,* Título em Português :lang:pt:
Algum texto em português.
#+end_src3. Specify the language to be displayed in the URL params (defaults to "en"): =https://website.com?lang=pt=