Skip to content

Commit ed6f7bb

Browse files
committed
Enabling translations
1 parent 8779e25 commit ed6f7bb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/utils/Language.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,7 @@ export function localize(key: string, message: string) {
5656

5757
export { currentLanguageOption, languagesOptions }
5858

59-
// Currently only enable language for dev mode, until the vast majority of the content is translated
60-
export const isLanguageEnabled = !!process.env.REACT_APP_IS_DEBUG
59+
// Currently only enable language for dev mode or demo, until the vast majority of the content is translated
60+
export const isLanguageEnabled = true
61+
// !!process.env.REACT_APP_IS_DEBUG ||
62+
// window.location.href.includes('server.demo.caprover.com')

0 commit comments

Comments
 (0)