infinite_scroll_pagination icon indicating copy to clipboard operation
infinite_scroll_pagination copied to clipboard

No internationalization possible

Open clemsciences opened this issue 3 years ago • 3 comments

Your package is great but it contains text that is in English. The developper cannot change is through parameters.

clemsciences avatar Feb 06 '22 14:02 clemsciences

You can display your own widgets for loading and errors which can contain translations.

clragon avatar Feb 12 '22 19:02 clragon

Yes, but the custom widget that extends FirstPageExceptionIndicator for example can receive a title, message and onTryAgain, but the onTryAgain button has a static text "Try Again" in English. It would be great to have another parameter like OnTryAgainText with a default value.

andr3i4o avatar Mar 09 '22 05:03 andr3i4o

Yes, but the custom widget that extends FirstPageExceptionIndicator for example can receive a title, message and onTryAgain, but the onTryAgain button has a static text "Try Again" in English. It would be great to have another parameter like OnTryAgainText with a default value.

you can copy class FirstPageExceptionIndicator and make new file called CustomFirstPageExceptionIndicator then u can edit all text and styles widgets , then implement the custom class :

CustomFirstPageExceptionIndicator( title: "FirstPageException_title" message: 'FirstPageException_message', onTryAgain: onTryAgain, );

heshesh2010 avatar May 10 '22 01:05 heshesh2010