Show the translation button only for English interfaces

Created on 29 November 2024, 19 days ago

Problem/Motivation

In my case, I only wanted to have a the translation button enabled when the interface language is English. Because in our case, the main usage is translating Fi to En, So having the translation button also in edit pages in Fi doesn't make sense.

Proposed resolution

A more elegant way is to actually add an option or checkbox in the module configuration to allow visibility in certain languages. But to fix my problem as quick as possible, I hard coded in language in the patch.

Feature request
Status

Needs work

Version

2.0

Component

Code

Created by

🇫🇮Finland mitechworld

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024