Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70432

Load translation string from data directory ionic 4

$
0
0

@vinoda wrote:

Hi, I am using ionic 4 with angular 7, I would like to introduce i18n in my ionic app. But here I do not want to put them in assets folder, I would like to implement as below

  1. I would like to provide language selection option in the login page
  2. Once the user selects the language, then I will download the language file and load it in my data directory
  3. Then from now onwards, until the user logout I will use the same language file

While I am implementing this, i am able to download the language file and store it in the data directory, but unable to load the language file from the data directory using the TranslateHttpLoader

Kindly let me know if any one already implemented this or found any working solution.

Thanks in advance :slight_smile:

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70432

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>