Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

http-local-asset translation loader #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stha-ums
Copy link

@stha-ums stha-ums commented Apr 5, 2022

if you are in need of a particular type of requirement such as:

your translations in the asset are not complete so you want to use the remote translations but want to make them available for offline use.
this makes the app useable if there is no internet connection to fetch the new translations every time.

if there is translation file locally(cached) then

  1. merge the local translation file with the asset-bundler translation file but give priority to the local translation.
  2. if the local localization is older than [one day] then fetch the new localization from backend and save in local(cache) and perform 1st step.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant