Skip to content

Commit

Permalink
Merge pull request #100 from edrlab/multilingual
Browse files Browse the repository at this point in the history
Multilingual
  • Loading branch information
gautierchomel authored Sep 20, 2024
2 parents 308d856 + d086841 commit c5d7258
Show file tree
Hide file tree
Showing 31 changed files with 1,037 additions and 283 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"commentTranslate.targetLanguage": "fr"
}
10 changes: 5 additions & 5 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title = "Thorium Reader"
# Language settings
contentDir = "content/en"
defaultContentLanguage = "en"
defaultContentLanguageInSubdir = false
defaultContentLanguageInSubdir = true
# Useful when translating.
enableMissingTranslationPlaceholders = true

Expand Down Expand Up @@ -90,10 +90,10 @@ section = ["HTML", "print", "RSS"]

[params]
copyright = "EDRLab"
thorium2 = "/docs"
privacy_policy = "/documents/privacy"
accessibility = "/documents/accessibility"
tou = "/documents/thorium-terms-of-use"
thorium2 = "docs"
privacy_policy = "documents/privacy"
accessibility = "documents/accessibility"
tou = "documents/thorium-terms-of-use"

# First one is picked as the Twitter card image if not set on page.
# images = ["images/project-illustration.png"]
Expand Down
2 changes: 1 addition & 1 deletion content/en/th3/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ menu:

<!-- <hr class="asterism"/> -->
<p><b>
Thorium 3 documentation s available as EPUB, different translations are available thru the Thorium documentation catalog. You can <a class="" href="opds://rawcdn.githack.com/edrlab/publications/main/feeds/thorium3_documentation.json">Add Documentation catalog to Thorium (OPDS link) </a> or <a class="" href="https://readium.firebaseapp.com/?epub=https://rawcdn.githack.com/edrlab/publications/main/thorium3-documentation/sources/en/">browse English documentation inline within the Readium web reader</a>.</b></p>
Thorium 3 documentation is available as EPUB, different translations are available thru the Thorium documentation catalog. You can <a class="" href="opds://rawcdn.githack.com/edrlab/publications/main/feeds/thorium3_documentation.json">Add Documentation catalog to Thorium (OPDS link) </a> or <a class="" href="https://readium.firebaseapp.com/?epub=https://rawcdn.githack.com/edrlab/publications/main/thorium3-documentation/sources/en/">browse English documentation inline within the Readium web reader</a>.</b></p>

</p>

Expand Down
Loading

0 comments on commit c5d7258

Please sign in to comment.