WebAssembly / WebAssembly/WASI

Expose language, locale, and timezone info

Open
#167 5 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature-request S-inactive
Dominant language
Rust
Stars
5.8k
Forks
333
Avg merge
2d 13h
Merged PRs (30d)
3

Description

It would be good for WASI to be able to expose the information needed to implement the POSIX LANG, LC_*, and TZ environment variables.

One option would be to literally forward these environment variables through WASI's environment-variable system, however we'll likely want this information in programs which don't otherwise use environment variables, so we should consider a different API -- WASI libc could translate it into the environment variables for compatibility if needed.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with WASI's environment-variable system and the POSIX LANG, LC_*, and TZ requirements described in the issue. Compare forwarding these variables with providing a separate API; done means selecting and specifying an API, including how WASI libc preserves compatibility.

Written by the indexing model from the issue text.

Assessment

Tech stack
wasm
Domain
internationalization, localization, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.