You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-29 22:48:10 +02:00
Support for RN localisation
This commit is contained in:
@@ -32,6 +32,7 @@ import { SideMenu } from 'lib/components/side-menu.js';
|
||||
import { SideMenuContent } from 'lib/components/side-menu-content.js';
|
||||
import { DatabaseDriverReactNative } from 'lib/database-driver-react-native';
|
||||
import { reg } from 'lib/registry.js';
|
||||
import { _, setLocale } from 'lib/locale.js';
|
||||
import RNFetchBlob from 'react-native-fetch-blob';
|
||||
|
||||
let defaultState = {
|
||||
@@ -370,6 +371,9 @@ async function initialize(dispatch, backButtonHandler) {
|
||||
reg.logger().info('Loading settings...');
|
||||
await Setting.load();
|
||||
|
||||
// Setting.setValue('locale', 'fr_FR');
|
||||
// setLocale(Setting.value('locale'));
|
||||
|
||||
reg.logger().info('Loading folders...');
|
||||
|
||||
await FoldersScreenUtils.refreshFolders();
|
||||
|
||||
Reference in New Issue
Block a user