Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Make improve this map translatable #12785

Merged
merged 1 commit into from
Sep 4, 2018
Merged

Make improve this map translatable #12785

merged 1 commit into from
Sep 4, 2018

Conversation

tobrun
Copy link
Member

@tobrun tobrun commented Aug 31, 2018

Closes #12708, follow up from https://github.com/mapbox/mapbox-gl-native/pull/12719/files, this PR hooks into our attribution parser and checks if the our sources contain a "improve this map" anchor and attempt to translate it to a localised language.

screen shot 2018-08-31 at 11 06 00

@1ec5 do you feel we need to do the same on the iOS side? I follow you on that this should be fixed on the backend though I'm unaware of timings revamping attribution (would love for us to be able to remove this whole html parsing approach).

cc @langsmith @mapbox/maps-ios

@tobrun tobrun added Android Mapbox Maps SDK for Android localization Human language support and internationalization labels Aug 31, 2018
@tobrun tobrun added this to the android-v6.5.0 milestone Aug 31, 2018
@tobrun tobrun self-assigned this Aug 31, 2018
@1ec5
Copy link
Contributor

1ec5 commented Aug 31, 2018

On iOS, we already override the URL to point to the newer feedback tool, so I guess if we’re confident in our feedback link detection to override the URL, we might as well do that for a standard “Improve This Map”. However, if a feedback link happens to have more specific text, I think I’d want to retain that text rather than replace it with a translation of a different string.

@tobrun tobrun merged commit e7642f2 into master Sep 4, 2018
@tobrun tobrun deleted the tvn-improve-this-map branch September 4, 2018 08:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android localization Human language support and internationalization
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve this map not translated
3 participants