Annca icon indicating copy to clipboard operation
Annca copied to clipboard

Provide custom locales

Open AlexBrechmann opened this issue 9 years ago • 3 comments

Hi there, first - thanks for providing this library to everyone it'll save me a lot of time.

I am using your library and currently it provides english and I assume danish locales only. Is there any way to change/add locales e.g. for the different textViews within activity_preview or for the dialog you create within onSettingsClick(...)? Currently I get your library via Gradle and actually I don't want to import it manually and modify it myself.

It would be nice to hear from you. Alex

AlexBrechmann avatar Jan 24 '17 09:01 AlexBrechmann

Hi, thank you for your feedback. Currently I am working on next version and I will think how to add this. As quick solution without a lot of modifying you can just put the required locale strings into your application project res/values but use the same names as in library for them and they will be override by your application values. As for next version release date - it will be beginning of the February.

memfis19 avatar Jan 24 '17 09:01 memfis19

Thanks for your fast response. For now I'll got with your provided solution.

AlexBrechmann avatar Jan 24 '17 09:01 AlexBrechmann

thank you.谢谢作者

AFAP avatar Feb 21 '17 15:02 AFAP