-
Notifications
You must be signed in to change notification settings - Fork 38
Description
I working on localization for REPL for my own needs. I plan to support couple languages which I can manage myself, and couple others based on Google Translate. Instead of working with patches, I interested into adding at least translation to this project. I think this is both improve REPL with relatively small amount of work to maintain and help me directly.
Because it's published currently under different domain I have to patch these lines
Lines 13 to 19 in 081d22a
| let HOST = | |
| #if DEBUG | |
| // "http://localhost:8080" | |
| Browser.Dom.window.location.href | |
| #else | |
| "https://fable.io/repl/" | |
| #endif |
I don't really understand why not use Browser.Dom.window.location.href both for Debug and Release configurations.
Other options for customization which I would like to have is being able to specify list of additional assemblies here
Lines 29 to 39 in 081d22a
| let EXTRA_REFS = | |
| [|"Browser.Blob" | |
| "Browser.Event" | |
| "Browser.WebStorage" | |
| "Browser.Dom" | |
| "Browser.WebGL" | |
| "Browser.Css" | |
| "Browser.MediaQueryList" | |
| "Browser.Gamepad" | |
| "Fable.Repl.Lib" | |
| |] |
again, this is probably not big deal, but I think this may be valuable for REPL too.
So I really would like to hear what users and maintainers thinking about all these ideas.