-
-
Notifications
You must be signed in to change notification settings - Fork 112
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 support for WooCommerce (slugs) skip cache rules #43
Comments
@Bronislawsky It is something that I've thought about since the beginning, however I'm not sure what the best approach would be. Obviously yes, including every single common URI slug in dozens of languages by default would not be very manageable. So yah, probably it would need a variable in That said, I'd also love to be able to popularize certain URIs (spellings) for commonality/SEO... I'm not a fan of needlessly complex slugs like |
suggestion: example file: "de_DE.txt"
this is just an example, i don't have the correct slugs in my head right now. another, easier, way would be to set the initial exclusions in english, then get the current values of woocommerce on each ss-update. |
can you please insert the correct values here @Bronislawsky and i will add them to my fork. they may get pulled to this repo
|
As an aside, I mentioned this on the Pull Request but to begin considering support for 100 languages we should probably move the skip cache rules into a new Nginx module instead like:
Ref: #141 |
I don't know yet how to implement, but here's an example file: https://github.com/littlebizzy/slickstack/blob/master/modules/nginx/languages/en_us.txt By separating files like this, it makes it easier for users to contribute spelling fixes and other patches. And, it means each SlickStack server only needs to install the languages that they will use. |
New location: https://github.com/littlebizzy/slickstack/blob/master/languages/en_us.txt
|
Some general links to review best practices in WooCommerce skip cache rules... putting this here, because it probably doesn't need a separate issue: Ref: EasyEngine/easyengine#621 |
In french, we use panier instead of cart etc,
Is it a possibility to eventually add multilang support or a custom skip cache options for
other language than English ?
The text was updated successfully, but these errors were encountered: