0
My API returns serialized data with active_model_serializers
, some of these attributes are translated into frontend using angular-translate
.
The dictionary containing the translations is increasing, I wish to make the translation of this data in the backend and already return translated this data.
The shape I found was through the layer of serializers defining methods with each attribute and translating them.
I wish the opinion of others who have carried out something similar in their projects.
Thank you
I would very much like a more effective way to address this issue.
– Bruno Wego