wordplaydev / wordplay

An accessible, language-inclusive programming language and IDE for creating interactive typography on the web.
Other
60 stars 22 forks source link

Change stage locale #485

Closed amyjko closed 2 months ago

amyjko commented 3 months ago

What's the problem?

The stage and runtime uses the IDE's current locale to determine what output to show. This is often fine, but during development of a project, it is sometimes necessary to see a project's output in a particular language without having to change the IDE's language.

What's the design idea?

Add a drop down menu to the stage that affects the current language used for rendering. This state can default to unspecified, in which case the IDE's primary locale is used (e.g. an "auto" setting). But if explicitly set, it should be used instead of the IDE setting.