add note about google api cost

This commit is contained in:
Gamebrary 2020-11-03 23:03:24 -07:00
parent eb1646a4f7
commit 59f2755361

View file

@ -4,6 +4,7 @@ const fs = require('fs');
const translate = require('translate-json-object')();
const baseJson = require('../src/i18n/en.json');
// NOTE: Please be careful using you api key, translating the entire app to all languages can get costly
translate.init({ googleApiKey: 'GOOGLE_TRANSLATE_API_KEY' });
const supportedLanguages = [