View Source Desktop (Desktop v1.5.3)
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 Getting Started 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.
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.
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.