fix(i18n): fix error where locale file not being loaded#374
Merged
craicoverflow merged 1 commit intomainfrom Feb 22, 2021
Merged
fix(i18n): fix error where locale file not being loaded#374craicoverflow merged 1 commit intomainfrom
craicoverflow merged 1 commit intomainfrom
Conversation
Collaborator
|
@craicoverflow can we measure time before and after load on your mac. How long it takes to load those? |
83b9b0f to
67a0318
Compare
Contributor
Author
|
Before: After: |
67a0318 to
bba4b7d
Compare
Contributor
Author
|
There is no discernible differences. |
Contributor
Author
|
ping @wtrocki @rkpattnaik780 |
wtrocki
approved these changes
Feb 22, 2021
bba4b7d to
b396623
Compare
Collaborator
|
So to clarify. We still compiling codebase using make pkger. but then at runtime we simply load all of the compiled indexes from golang file? I would go with:
|
Contributor
Author
|
Yep |
Collaborator
|
@craicoverflow I would suggest some follow ups for this later phase:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fixes #370
This fixes a major bug where locales files which were being loaded in an
initfunction did not load as the file was not found.The solution to this was to load all message files at the start of the program.
Verification
make installrhoasCLI from your workspace root ($HOME).