An example project that demo tolgee liquid, which integrates the Tolgee Platform with Shopify's Liquid template language.
- provide tolgee information in
config/initializers/tolgee.rb
- register liquid filter in
config/initializers/liquid.rb
- demo page is implemented through
app/views/layouts/liquid/page.liquid
andapp/controllers/pages_controller.rb
- tolgee.js is included in
app/javascript/application.js
- start server via
bin/rails server
Go to http://127.0.0.1:3000/demo?mode=production
Start your tolgee server and go to http://127.0.0.1:3000/demo?mode=development