Giphy / giphy-react-native-sdk

GIPHY React Native SDK
https://developers.giphy.com
Apache License 2.0
69 stars 25 forks source link

How to change empty results text "No stickers found" #183

Closed Ibrahim-Arif closed 1 month ago

Ibrahim-Arif commented 5 months ago

Duplicates

Latest version

Summary 💡

I'm using the GiphyGridView component to render the results of the searched string, but if no result is found, the component shows a "No stickers found" message. Which is good, however, my app is in Spanish language and needs to change this message to "No se encontraron stickers" but I couldn't find any prop to change this text

No prop found here: https://github.com/Giphy/giphy-react-native-sdk/blob/HEAD/docs/api.md#giphygridview

I also asked Gemini and it was also not able to give a correct solution https://g.co/gemini/share/ec77f54e2dc5 the property Gemini suggested renderEmpty does not exist in the docs.

Motivation 🔦

No response

ALexanderLonsky commented 4 months ago

Hey @Ibrahim-Arif, Thanks for flagging this. We don't support localization now, but I have passed this request on to my team. I'll keep you posted.

ALexanderLonsky commented 3 months ago

@Ibrahim-Arif, We have released version 3.3.0, which addresses the localization issue. You can find the documentation here.