stream-chat-android icon indicating copy to clipboard operation
stream-chat-android copied to clipboard

Localization within the library

Open savked opened this issue 7 years ago • 6 comments

I have to implement the support for German and Spanish language to your library, however I noticed that your strings.xml file is only in English and that you support only English for now. Is it possible for me to add these translated strings files somehow or make a pull request to your repository or how should I approach this? Thanks in advance.

savked avatar Oct 25 '19 07:10 savked

Any reason why this is closed?

Chikrix avatar Nov 25 '19 18:11 Chikrix

@elevenetc

tbarbugli avatar Nov 25 '19 18:11 tbarbugli

@Chikrix apparently @savked either decided to translate the app (but not SDK) or found another solution :slightly_smiling_face: My opinion about localisation is that it should not be a part of SDK. The main reason is that any language requires support of a native speaker or at least the person who knows the language really well. And that person should be either in development team or be some contractor who can translate texts quickly.

elevenetc avatar Nov 29 '19 15:11 elevenetc

@savked , you can translate all verbals of SDK in your application. Please refer this

Sample app has a feature for localization with library. For example: (German and Spanish language)

  • https://github.com/GetStream/stream-chat-android/blob/master/sample/src/main/res/values-de/strings.xml
  • https://github.com/GetStream/stream-chat-android/blob/master/sample/src/main/res/values-es/strings.xml

adrian09h avatar Dec 03 '19 07:12 adrian09h

@savked and @Chikrix , do you have any question about this issue yet?

adrian09h avatar Dec 04 '19 09:12 adrian09h

@adrian09h yeah I'm good now. Thanks

Chikrix avatar Dec 05 '19 16:12 Chikrix