mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
Update i18n tools after the main packages upgrade. This upgrade makes use of formatJS tooling instead of fully implementing the parsers ourselves. It also changes our custom AST parsing from babel to the typescript compiler. - [x] i18n exrtract - [x] i18n check - [x] i18n integrate - [x] add test cases for formatjs runner - [x] Make sure all CLI flags are handled properly - [x] Update tooling readme Closes https://github.com/elastic/kibana/issues/180616 Closes https://github.com/elastic/kibana/issues/187703 ### Note to reviewers Teams outside operations and core are probably requested to review because the `i18n_check` fixed malformed i18n messages in your plugins. Please check and approve :elasticheart:
10 lines
444 B
JavaScript
10 lines
444 B
JavaScript
/*
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
* or more contributor license agreements. Licensed under the Elastic License
|
|
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
|
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
* Side Public License, v 1.
|
|
*/
|
|
|
|
require('../src/setup_node_env');
|
|
require('../src/dev/i18n_tools/bin/run_i18n_extract');
|