Quantcast
Channel: Zammad - Community - Latest posts
Viewing all articles
Browse latest Browse all 6728

Unable to translate certain strings from rails console

$
0
0

Infos:

  • Used Zammad version: 6.3.1-1718620481.9d65e987.jammy
  • Used Zammad installation type: package
  • Operating system: Ubuntu 22.04
  • Browser + version: Firefox 127.0 (64-bit)

Expected behavior:

  • Use rails console to add custom translations for all strings

Actual behavior:

  • It is possible to translate certain strings but not all of them
  • e.g. Organization does not work

  • Same for
    • My Organization Tickets
    • Zammad is currently in maintenance mode. Only administrators can log in. Please wait until the maintenance window is over.
  • It works for Customer or custom states
    • Translation.create_if_not_exists(:locale => 'de-de', :source => 'Customer ', :target => 'DSB', created_by_id: 1, updated_by_id: 1)

Steps to reproduce the behavior:

  • Open the Rails console zammad run rails c
  • Try to translate withTranslation.create_if_not_exists(:locale => 'de-de', :source => "Organization", :target => "Schule", created_by_id: 1, updated_by_id: 1)

Any pointer is greatly appreciated

Best,
Skip


Viewing all articles
Browse latest Browse all 6728

Trending Articles