Skip to content

Redo localization for onboarding - #63987

Draft
Jake Bailey (jakebailey) wants to merge 4 commits into
microsoft:mainfrom
jakebailey:localization-update
Draft

Redo localization for onboarding#63987
Jake Bailey (jakebailey) wants to merge 4 commits into
microsoft:mainfrom
jakebailey:localization-update

Conversation

@jakebailey

Copy link
Copy Markdown
Member

This reorganizes our localization files to match what the loc team expects, which should allow us to start localization up again.

The downside is that the loc team isn't going to be running any sort of post-processing steps, I don't think, which means the .json.gz concept has to go away. This sucks for binary sizes, so, at the same time, reintroduce the loc dir for the output files that we read at startup. Non-noembed users unfortunately have to deal with the full .json files, which sadly increases binary size by some 3.4MB. I'll have to look into some way that we could still do that. I do not want to introduce any sort of build-time dependence into these files, as that would not be go get-able, and so it'd be better to simply have a build tag that omits the loc entirely for those who do not want it.

Remove the separate extra diagnostics catalog and allocate native-only
messages within the standard compiler and language service ranges.

Reject duplicate diagnostic codes during generation.
Document the intentional native filesystem operations used to load locale
files beside the executable and use errors.New for the static error.
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.

1 participant