Project

General

Profile

Problem adding a custom language file in Redmine 6

Added by Andrew H 7 days ago

Hello,

I copied en.yml from /var/lib/redmine/config/locales/ and renamed it en-FA.yml.
I then changed line 1 to en-FA:
Changed line 148 to general_lang_name: 'English (FA)'

I then ran rake tmp:cache:clear
then sudo systemctl reload apache2

The new language does not appear in the list.
I also checked to ensure the owner and permissions were the same for that file. They were not, so I changed that to match the rest of the language files. I then ran the above two commands one more time.
Still, the language is not an option.

Here is the info of my setup:

Environment:
  Redmine version                6.0.2.stable.23404
  Ruby version                   3.3.6-p108 (2024-11-05) [x86_64-linux]
  Rails version                  7.2.2.1
  Environment                    production
  Database adapter               PostgreSQL
  Mailer queue                   ActiveJob::QueueAdapters::AsyncAdapter
  Mailer delivery                smtp
Redmine settings:
  Redmine theme                  Default
SCM:
  Subversion                     1.14.3
  Git                            2.43.0
  Filesystem                     
Redmine plugins:
  no plugin installed

Any ideas on what I am doing wrong?


Replies (1)

RE: Problem adding a custom language file in Redmine 6 - Added by Andrew H about 12 hours ago

Tried looking to see what may have changed from earlier Redmine versions and can't seem to find anything that should be throwing me off from having this work. Does anyone have any ideas?

    (1-1/1)