diff --git a/src/components/status.jsx b/src/components/status.jsx
index 9c0feee5..1b8a85d6 100644
--- a/src/components/status.jsx
+++ b/src/components/status.jsx
@@ -79,6 +79,7 @@ function Status({
readOnly,
contentTextWeight,
enableTranslate,
+ forceTranslate: _forceTranslate,
previewMode,
allowFilters,
onMediaClick,
@@ -233,7 +234,7 @@ function Status({
);
}
- const [forceTranslate, setForceTranslate] = useState(false);
+ const [forceTranslate, setForceTranslate] = useState(_forceTranslate);
const targetLanguage = getTranslateTargetLanguage(true);
const contentTranslationHideLanguages =
snapStates.settings.contentTranslationHideLanguages || [];
@@ -403,6 +404,14 @@ function Status({
}
};
+ const differentLanguage =
+ language &&
+ language !== targetLanguage &&
+ !match([language], [targetLanguage]) &&
+ !contentTranslationHideLanguages.find(
+ (l) => language === l || match([language], [l]),
+ );
+
const menuInstanceRef = useRef();
const StatusMenuItems = (
<>
@@ -530,7 +539,7 @@ function Status({
>
)}
- {enableTranslate && (
+ {enableTranslate ? (
+ ) : (
+ (!language || differentLanguage) && (
+
+
+ Translate
+
+ )
)}
{((!isSizeLarge && sameInstance) || enableTranslate) && }