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

Multi-language setup #2

Closed
iskrisis opened this issue Apr 6, 2022 · 2 comments
Closed

Multi-language setup #2

iskrisis opened this issue Apr 6, 2022 · 2 comments

Comments

@iskrisis
Copy link
Contributor

iskrisis commented Apr 6, 2022

Multi lang setup creates directories as
url.language meaning

/projects creates /static/projects.en/index.html
/cs/projects creates /static/projects.cs/index.html

Folder structure needs to follow url structure.

@bnomei
Copy link

bnomei commented May 20, 2022

i refactored the file method and other parts to allow for multi-language setups in my fork but it was a bit to many changes for a PR so i decided to publish my own version for now. i will happily archive mine once the original plugin is updated.

https://github.com/bnomei/kirby3-staticache/blob/f7b39180b28bfbe69cfcd5727bddac3e21038f31/classes/StatiCache.php#L21

@lukasbestle
Copy link
Member

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

3 participants