Desktop (Desktop v1.1.0) View Source
This is the documentation for the Desktop project.
By default, Desktop applications depend on the following packages:
Phoenix - the Phoenix web framework
Phoenix LiveView - real-time user experience
Sqlite3 Ecto - local database
To get started, see the installation guide.
This library is still worked on heaviliy and APIs are going to change in v2. If you are curious to play around or contribute it's to best clone the current sample app at: https://github.com/elixir-desktop/desktop-example-app and start modifying it to your wishes.
Contributing and raising Issues
Please checkout the github repo at https://github.com/elixir-desktop/desktop and raise any issues. Suggestions about the API and usage are welcome!
Cheers!
Link to this section Summary
Functions
Call on application to use the system locale by default for translations. The function will scan your gettext backend for available languages and compare to the system language to select the best match.
Allows setting the default locale that will be used for translations in this Desktop application.
Link to this section Functions
Call on application to use the system locale by default for translations. The function will scan your gettext backend for available languages and compare to the system language to select the best match.
Desktop.identify_default_locale(MyApp.Gettext)
Allows setting the default locale that will be used for translations in this Desktop application.