#general

Difficulty in Changing the Language in Self-Hosted Chatwoot

TLDR d3x73rz1n had issues translating self-hosted Chatwoot. sojan_official advised to recompile assets and restart, then provided command to correct a Ruby version error.

Powered by Struct AI
6
8mo
Solved
Join the chat
Feb 27, 2023 (9 months ago)
d3x73rz1n
Photo of md5-0e5c633d6663f1862dab15d472271307
d3x73rz1n
06:06 PM
Hi! Need to translate some parts. Anyone can confirm what is needed for this, in self hosted? I´ve change the locale files, and restart chatwoot, but this way don´t work. Please, how the best way to do translation or change the words?
This still in english.
Image 1 for Hi! Need to translate some parts. Anyone can confirm what is needed for this, in self hosted? I´ve change the locale files, and restart chatwoot, but this way don´t work. Please, how the best way to do translation or change the words?
This still in english.
Mar 02, 2023 (9 months ago)
sojan_official
Photo of md5-788237a2af5ff191b07ee9f215706ead
sojan_official
12:54 PM
https://www.chatwoot.com/docs/contributing-guide/translation-guidelines

if you want to change it in self hosted, you would need to change the strings, recompile the frontend assets and then do a restart
Mar 09, 2023 (9 months ago)
d3x73rz1n
Photo of md5-0e5c633d6663f1862dab15d472271307
d3x73rz1n
04:24 PM
How I recompile the frontend? Which command in linux self hosted?
Mar 13, 2023 (9 months ago)
sojan_official
Photo of md5-788237a2af5ff191b07ee9f215706ead
sojan_official
06:42 AM

# Recompile the assets
rake assets:precompile RAILS_ENV=production
Mar 18, 2023 (9 months ago)
d3x73rz1n
Photo of md5-0e5c633d6663f1862dab15d472271307
d3x73rz1n
06:18 AM
Try to use this command. Prompt me an error:
Your Ruby version is 2.7.4, but your Gemfile specified 3.1.3
Mar 24, 2023 (8 months ago)
sojan_official
Photo of md5-788237a2af5ff191b07ee9f215706ead
sojan_official
05:45 AM

rvm install "ruby-3.1.3"
rvm use 3.1.3 --default