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

Add support for localized content like images and other stuff "Getdata" #20

Closed
2 tasks done
Dexus opened this issue Mar 24, 2018 · 1 comment
Closed
2 tasks done
Labels

Comments

@Dexus
Copy link
Contributor

Dexus commented Mar 24, 2018

Please describe your issue

Is this a bug, an improvement, a proposal or something else?

  • Improvement
  • Proposal

Sometimes I have to deliver pictures or PDFs related to localization, so it would be a very good idea to save this data as "LC_RESSOURCES" and deliver it with the module.

@leonelquinteros
Copy link
Owner

I think this is a very personal approach and it's outside the scope of the package.

Others may want to use a different directories structure, or store these in a DB, or in a Cloud storage service, or anywhere else, not mentioning that they may also have different rules about how these resources are managed.

In your case, you can use gettext translations to translate file paths as strings and then consume from the path "translated". But that's just a suggestion.

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

No branches or pull requests

2 participants