Internationalize a medium Rails App with Vue frontend effectively with tooling
17-Oct-2020 1313
TLDR: I released a Ruby CLI tool that can semi-automatically extract raw Strings from Ruby-files, SLIM, ERB-Views and Vue-Pug templates. Read on about the background.Recently, we started to internationalize our ATS (Applicant tracking system) recruiter backend, to also show support English speaking recruiters, a step that most growing Rails apps sooner or later will face. That’s why I want to share some tooling that I use (or build) to help you make this very first step, extracting ALL the strings in the app into the I18n space.Additionally, we also use bunch of Vue-components (about ~175) to add interactivity in many parts of the app. Having started lean with YAGNI in mind, Internationalization for the internal users (the Recruiters) was not a major concern in the first 2 years of running our ATS, so most Strings where plain German around the app. In our case, I used some Regex searches and found:.
Internationalize a medium Rails App with Vue frontend effectively with tooling #ruby #rubydeveloper #rubyonrails #Internationalize #medium #Rails #frontend #effectively #tooling #frontend #vue https://rubyonrails.ba/link/internationalize-a-medium-rails-app-with-vue-frontend-effectively-with-tooling