We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
All Translator and Locale objects should be serializable somehow, to allow caching.
Translator
Locale
Translator and Locale objects can't be cached outside "local memory" because they can't be serialized.
A Translator or Locale object should be serializable into []byte
They can't.
Try to serialize and deserialize a Translator or Locale object.
We either implement a Serialize() method for them, or implement most common serialization interfaces like json and gob.
Serialize()
json
gob
The text was updated successfully, but these errors were encountered:
4cbf30d
No branches or pull requests
Please describe your issue
All
Translator
andLocale
objects should be serializable somehow, to allow caching.Is this a bug, an improvement, a proposal or something else?
Briefly explain your issue
Translator
andLocale
objects can't be cached outside "local memory" because they can't be serialized.What's the expected behaviour?
A
Translator
orLocale
object should be serializable into []byteWhat's the actual behaviour?
They can't.
What are the steps to reproduce the actual behaviour?
Try to serialize and deserialize a
Translator
orLocale
object.Comments
We either implement a
Serialize()
method for them, or implement most common serialization interfaces likejson
andgob
.The text was updated successfully, but these errors were encountered: