firebase / firebase/firebase-ios-sdk

FR: Setting languageCode for Messaging

Open
#5,451 8 comments 1 reaction 0 assignees View on GitHub
api: messaging type: feature request
Dominant language
C++
Stars
6.7k
Forks
1.8k
Avg merge
2d 14h
Merged PRs (30d)
72

Description

### Feature proposal

* Firebase Component: InAppMessage

In [FIRMessaging.M](https://github.com/firebase/firebase-ios-sdk/blob/793d7634906229f7ca58c571e3ebbc6caa5b79e0/FirebaseMessaging/Sources/FIRMessaging.m#L1008l) the current locale takes the value from `[NSLocale preferredLanguages]` which doesn't return what the actual language is used in the app's UI

It would be great if there is a way, where we can set the languageCode like we have in **FirebaseAuth** `Auth.auth().languageCode = "fr"`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.