-
-
Notifications
You must be signed in to change notification settings - Fork 148
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
Is there some way to use the Spring MessageSource for column header? #18
Comments
I don't know what But in general I don't think it is a good idea to integrate localization quite at this level: you can, however, programmatically construct |
Thanks for the answer. Is there good way to do programmatically construct CsvSchema using translations?
|
@temp-impl it is possible to just construct whole I'll have to think about this: I don't really have a good idea how this could or should work. But I do think this is bit more general than just CSV: in theory one might want to rename properties of JSON or XML or Properties file as well. Further, these would be somewhat dynamic translations, somewhat similar to Interesting idea. Just not sure how to go about it. |
I was looking for a solutions as well. I worked around this problem by writing header (first line) and content of the csv seperatly as follows:
|
Hmmh. I would have thought that it should be possible to simply create |
Or I need to join column header after writeValueAsString() ?
Below is similar problem:
http://stackoverflow.com/questions/35295997/set-localized-column-title-in-csv-file-using-jackson
The text was updated successfully, but these errors were encountered: