Skip to content

An example project that integrate Tolgee Platform to Rails Liquid template engine

License

Notifications You must be signed in to change notification settings

cccccroge/tolgee-rails-liquid

Repository files navigation

tolgee-rails-liquid

An example project that demo tolgee liquid, which integrates the Tolgee Platform with Shopify's Liquid template language.

Setup

  • 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 and app/controllers/pages_controller.rb
  • tolgee.js is included in app/javascript/application.js
  • start server via bin/rails server

Demo

production mode

Go to http://127.0.0.1:3000/demo?mode=production SCR-20240609-ujaj

development mode

Start your tolgee server and go to http://127.0.0.1:3000/demo?mode=development demo_gif

About

An example project that integrate Tolgee Platform to Rails Liquid template engine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published