Skip to content
This repository has been archived by the owner on Sep 10, 2019. It is now read-only.

Feature: Set partial configs #9

Open
rathesDot opened this issue Jan 8, 2018 · 1 comment
Open

Feature: Set partial configs #9

rathesDot opened this issue Jan 8, 2018 · 1 comment

Comments

@rathesDot
Copy link
Member

One should be able to set some config somewhere in the content tree.

For example, consider having a content structure like this:

|-- de
|    |-- seite-1
|    |-- seite-2
|-- en
|    |-- page-1
|    |-- page-2

One should be able to set e.g. the apps locale to de when on the de/ branch and to en when on the en/ branch of the tree ...

@rathesDot
Copy link
Member Author

If it is just for the language code, one should also work with a file suffix. Something like seite-1.de.md would be a german page, while page-1.md would be the default language, set in config/mozhi.php

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

No branches or pull requests

1 participant