getkirby-v2 / langkit Goto Github PK
View Code? Open in Web Editor NEWThis is the deprecated langkit for Kirby v2.
Home Page: https://getkirby.com
License: Other
This is the deprecated langkit for Kirby v2.
Home Page: https://getkirby.com
License: Other
Add a RSS example/doc for a multi-language site.
Quick eg. January should be Januar in german
Just noticed this at first glance โ line 2 of header.php. Should this not be dynamic to the current language of the site?
I have 2 languages; en (english) and de (german).
Now, I have the following URL structure:
+ homepage.com
|
+--- /de
| |- /blog
| |- /about
|
+--- /en
| |- /blog
| |- /about
So, when a user goes to http://homepage.com/
he will be redirected to http://homepage.com/en
(as english is the default language). This is ok and for me it's wanted behaviour. But when a user visits http://homepage.com/blog
he will also be redirected to the english homepage, instead of /en/blog
, which would be IMHO a normal language routing behavior, but I can't achieve this without a manual route entry in config.php. (And even with it, it's a little buggy)
Are there any plans to realize a behavior like described above? Is it possible to redirect the user to his browser language, but not to the homepage?
Thanks for taking a look at it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.