-
Run this in terminal:
sudo gedit /etc/sysctl.conf
-
Scroll to the bottom and paste:
fs.inotify.max_user_watches=524288
-
Save and clode the editor, then run this:
sudo sysctl -p
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// path to english or your primary language file so it can generate helper code for you | |
import en from "./en.json"; | |
// matches takes string input which try to find if that word exist in keys of the lokalise exported json you provided | |
function generateLokaliseHelperData(matches: string) { | |
try { | |
const translation = JSON.parse(JSON.stringify(en)) | |
let results: any = "{" | |
let match = matches | |
for (const [key, value] of Object.entries(translation)) { |