Merged in feat/sw-2333-package-and-sas-i18n (pull request #2538)
feat(SW-2333): I18n for multiple apps and packages * Set upp i18n in partner-sas * Adapt lokalise workflow to monorepo * Fix layout props Approved-by: Linus Flood
This commit is contained in:
14
scripts/i18n/upload.ts
Normal file
14
scripts/i18n/upload.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import path from 'node:path'
|
||||
|
||||
import { config } from 'dotenv'
|
||||
|
||||
config({ path: `${process.cwd()}/.env.local` })
|
||||
|
||||
const filepath = path.resolve(__dirname, './extracted.json')
|
||||
|
||||
async function main() {
|
||||
const { upload } = await import('./lokalise')
|
||||
await upload(filepath)
|
||||
}
|
||||
|
||||
main()
|
||||
Reference in New Issue
Block a user