Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How would you support multiple languages? #256

Open
ffoodd opened this issue Dec 15, 2015 · 0 comments
Open

How would you support multiple languages? #256

ffoodd opened this issue Dec 15, 2015 · 0 comments

Comments

@ffoodd
Copy link

ffoodd commented Dec 15, 2015

Hi,

I'm using Hologram for a long time now and always wanted to generate my documentation in two different languages: french and english.

I obviously need to write the docs twice but would like them next to each other (for easier maintainability), like:

/*doc

---
title: "Boutons"
name: buttons
category: ui-fr

---
*/
/*doc

---
title: "Buttons"
name: buttons
category: ui-en

---
*/
.btn {}

I was thinking about using categories to accomplish this, but I'm afraid that would be complex. These are not different categories since this is the same component and documentation.

So maybe I'm not very smart on this one, but I can't figure a way to accomplish this properly.

What could you recommend to me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant