Skip to content

Commit

Permalink
chore: setup i18n in background (#6086)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack-Works authored Apr 14, 2022
1 parent fd79d1b commit 714147d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/mask/src/background-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,8 @@ import '../shared/native-rpc' // setup Android and iOS API server
import './social-network-adaptor' // setup social network providers
import './extension/background-script/Jobs' // start jobs
import './utils/debug/general'

// ! We should gradually stop using i18n in the background
import { addMaskI18N } from '../shared-ui/locales/languages'
import { i18NextInstance } from '@masknet/shared-base'
addMaskI18N(i18NextInstance)

0 comments on commit 714147d

Please sign in to comment.