Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nitishsharma/adding localization #118

Merged
merged 25 commits into from
Feb 6, 2023

Conversation

nitishsharma25
Copy link
Contributor

@nitishsharma25 nitishsharma25 commented Feb 1, 2023

A successful pipeline build: https://msdata.visualstudio.com/Database%20Systems/_build?definitionId=24040

Adding tasks in gulp file:

  1. generate_metadata: This generates metadata file containing all the strings marked for localization in src directory.
  2. exporti18n: From the metadata file generated and package.nls.json file, this creates an XLF file containing all the strings marked for localization in the project. This XLF file is picked by translation pipeline. The translation pipeline returns XLF files for different languages in transXlf directory.
  3. importi18n: It prepares json files in i18n directory for all languages from XLF files in transXlf dir.
  4. addI18nTask: creates additional language files in i18n directory.
  5. compile: normal compile, generates out directory.

nitishsharma25 and others added 24 commits January 17, 2023 11:51
…-9b2c-75fd38e5dc5e

Localized file check-in by OneLocBuild Task: Build definition ID 4: Build ID 5
…86-99e533add790

Localized file check-in by OneLocBuild Task: Build definition ID 24009: Build ID 82637385
rishky-msft
rishky-msft previously approved these changes Feb 1, 2023
Copy link
Contributor

@rishky-msft rishky-msft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approving. As discussed with Nitish, will create separate PR for removing manual step in localization project.

smartguest
smartguest previously approved these changes Feb 1, 2023
@rishky-msft rishky-msft merged commit f1d6c5a into main Feb 6, 2023
@rishky-msft rishky-msft deleted the nitishsharma/localization-generation branch February 6, 2023 04:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants