Skip to content

How would you support multiple languages? #256

Description

@ffoodd

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions