Skip to content

Localize strings on github.dev #17712

Closed

Description

@karrtikr

Change localization in the extension to use async VS Code FS APIs, as native node fs APIs are not available in browser. Some work done here: #17711

Activity

  1. karrtikr commented on Oct 12, 2021

    @karrtikr
    Author

    Converting the existing localize module to async is a problem as that means we cannot load any existing localized strings at module level in the extension. Two approaches:

    • Fix all localized constants in the extension to not be imported at module level.
    • Create a separate localization module for the browser case which used the VSCode API.

    If first approach seems to take a long time, we should be going with the second approach.

  2. locked as resolved and limited conversation to collaborators on Nov 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area-internalLabel for non-user facing issuesfeature-requestRequest for new features or functionalityimportantIssue identified as high-priority

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions