B3nedikt/AppLocale

Doesn't work for popup settings menu

Closed this issue · 2 comments

hello, library doesn't work or not translate setting popup menu created with onCreateOptionsMenu.

Actually this has been added in Reword 2.1.0, so if you use a version above this it should work: Reword Versions. The example app in the reword repository demonstrates how to integrate a PopupMenu. If you want you can fork it, and recreate your issue by creating a popup menu that does not work like you describe. Then I can look at your fork, and analyze the issue, as soon as I have the time. If you want some feature earlier you are free to create a PR though ;)

Looking at it again, you obviously mean manually inflated popup menus. Yes, this is currently not supported, as the lib does not intercept the MenuInflater. It would be possible to add this to my ViewPump lib, but I don't think it would be worth the time, as most people use menus with the Toolbar nowadays.