Comments (8)
Would love comments on this from @dajohi, @jolan, @karamble, @gratefulcheddar, and anyone else interested.
from dcrdocs.
I agree. I have researched on the multilanguage issue on mkdocs and couldn't find a reliable solution. My first thought was the same, having multiple directories for the various languages including the full set of docs. We should keep the filenames of the .md files consistent over the language directories so it would be easier to track if the subpages are allready translated.
We also need a mkdocs.yml for each language. en_mkdocs.yml
is my suggestion.
Also to make the work for the admin easier we can add a build-the-docs.sh bash script that handles the build process, renaming directories etc. So the admin would just need to point the virtualhosts of the subdomains to the specific language directories.
I will start translating into german and try to prepare the directory structure and the build bash script just to get a feeling for it, as i have only used the 'serve' function instead of building the docs yet.
from dcrdocs.
@karamble so sounds like you are in favor of option 2 above.
Anyone else want to chime in?
from dcrdocs.
I've looked at hugo a bit which seems suitable as a mkdocs replacement. They have a few ways of doing internationalization:
https://gohugo.io/content/multilingual/
I'm not sure it's really worth the effort to switch over since it would require porting the template to be hugo-compatible, having everyone learn golang template syntax, etc.
I am fine with what @karamble proposes. If we hit snags with that method then we can consider switching.
from dcrdocs.
I agree with @jolan. Was gonna throw Hugo out there as a suggestion but the work required to switch may not be worth it.
from dcrdocs.
I am fine with option 2. I strongly support subdirs over subdomains.
from dcrdocs.
Some experiments/initial work on this by @karamble are in #96
from dcrdocs.
This was done in #96
from dcrdocs.
Related Issues (20)
- A name for the new VSP staking process HOT 7
- Update How to Stake for vspd HOT 1
- Personal voting wallet guide
- Mention social contract in the docs HOT 3
- Shutting down a VSP guide HOT 1
- Cleanup legacy VSP bits
- Treasury spend voting entry point page
- how-to CSPP does not mention Decrediton
- broken links
- enableticketbuyer is not a valid option in dcrwallet.conf HOT 2
- vspd staking with dcrctl is not supported yet
- Update docs so infomation corresponds to the changes implemented in DCP0009 and DCP0010. HOT 5
- Unreadable code in dark mode HOT 1
- Update business brief
- Update project history timeline HOT 2
- Can documents be automatically internationalized? HOT 1
- Glossary: Add CPFP
- Mobile wallets section contains dead links to google play and planetdecred
- PoW: Add GPU mining
- PoW: Add pool mining
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dcrdocs.