# Documenter: publish in different languages?

**URL:** https://discourse.julialang.org/t/documenter-publish-in-different-languages/64217
**Category:** General Usage
**Tags:** documenter
**Created:** [July 7, 2021, 2:25pm UTC](https://discourse.julialang.org/t/documenter-publish-in-different-languages/64217 "2021-07-07T14:25:24Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![lmiq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lmiq/32/18314_2.png) [@lmiq](https://discourse.julialang.org/u/lmiq)
#### Post date: [July 7, 2021, 2:25pm UTC](https://discourse.julialang.org/t/documenter-publish-in-different-languages/64217/1 "2021-07-07T14:25:24Z")

</div>

Is it possible to publish documentation with Documenter in more than one language? For example by adding a flag somewhere for the reader to choose which language to read?

---

<div class="post-metadata">

### Author: ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)
#### Post date: [July 7, 2021, 2:36pm UTC](https://discourse.julialang.org/t/documenter-publish-in-different-languages/64217/2 "2021-07-07T14:36:21Z")

</div>

Not directly, see [JuliaDocs/Documenter.jl#297](https://github.com/JuliaDocs/Documenter.jl/issues/297), [JuliaDocs/Documenter.jl#658](https://github.com/JuliaDocs/Documenter.jl/issues/658), and [https://github.com/JuliaCN/JuliaZH.jl](https://github.com/JuliaCN/JuliaZH.jl) which builds/translates the Julia docs to chinese).

What you can do is to deploy multiple times to different directories for various languages. For example, the Julia manual deploys to a `en` directory.

---

<div class="post-metadata">

### Author: ![lmiq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lmiq/32/18314_2.png) [@lmiq](https://discourse.julialang.org/u/lmiq)
#### Post date: [July 7, 2021, 2:40pm UTC](https://discourse.julialang.org/t/documenter-publish-in-different-languages/64217/3 "2021-07-07T14:40:14Z")

</div>

> [@fredrikekre](#):
>
> What you can do is to deploy multiple times to different directories for various languages. For example, the Julia manual deploys to a `en` directory.

But is there a way to add a switcher somewhere? I did not understand if that is feasible or not at this moment (the Julia docs don’t have that switch). (of course a link in the main page could be an option)

---

<div class="post-metadata">

### Author: ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)
#### Post date: [July 7, 2021, 2:42pm UTC](https://discourse.julialang.org/t/documenter-publish-in-different-languages/64217/4 "2021-07-07T14:42:32Z")

</div>

> [@lmiq](#):
>
> But is there a way to add a switcher somewhere?

Not through Documenter. I am sure you can modify the HTML to have something like that though.

---

<div class="post-metadata">

### Author: ![lmiq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lmiq/32/18314_2.png) [@lmiq](https://discourse.julialang.org/u/lmiq)
#### Post date: [July 7, 2021, 2:44pm UTC](https://discourse.julialang.org/t/documenter-publish-in-different-languages/64217/5 "2021-07-07T14:44:34Z")

</div>

> [@fredrikekre](#):
>
> I am sure you can modify the HTML to have something like that though.

Indeed, I keep forgetting that I can add raw html code to Documenter. Thanks again!
