Global variable set and read

Please suggest me the best way to set and read global variable.
I want to set the variables once, and read from any page.
I need variables like, user language (grabbed from device) etc.
When

  • no database
  • no user registration

If you want them to persist across app restarts, use Ionic Storage. If you want automatic updating for reads, expose them as Observables. Regardless, create a service provider and put them in there.

Thanks you @rapropos