You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was localizing one app to support Indian regional languages and I was showing some information using Remote Config (JSON object) in my App.
As I found there is an option to set conditional parameter in Remote Config to get values based on Language, I added conditional parameters for different Indic languages. Now after changing language from App's setting it is reflecting for Hindi only and not for other languages.
While debugging and deep diving in the firebase's code I identified there is no support of Indic language except Hindi. As there are no locale values exist in dictionary 'FIRRemoteConfigFirebaseLocaleMap' of class RCNDevice.
Reproducing the issue
Create a Remote Config parameter with default value on Firebase Console.
Now add conditional parameter of condition type Languages and choose language "Hindi" with value in Hindi language.
Add one more conditional parameter of condition type Languages and choose language "Marathi" with value in Marathi language.
Use created Remote Config parameter in the Localized App which supports both Hindi and Marathi.
Change language of app to Hindi from App's settings.
It will reflect value in the app to show Hindi content as per 'Remote Config' conditional parameter added for Hindi.
Change language of app to Marathi from App's settings.
It will reflect value in the app.
Firebase SDK Version
10.22.0
Xcode Version
15.3
Installation Method
CocoaPods
Firebase Product(s)
Remote Config
Targeted Platforms
iOS
Relevant Log Output
No response
If using Swift Package Manager, the project's Package.resolved
Expand Package.resolved snippet
Replace this line with the contents of your Package.resolved.
If using CocoaPods, the project's Podfile.lock
Expand Podfile.lock snippet
Replace this line with the contents of your Podfile.lock!
The text was updated successfully, but these errors were encountered:
Description
I was localizing one app to support Indian regional languages and I was showing some information using Remote Config (JSON object) in my App.
As I found there is an option to set conditional parameter in Remote Config to get values based on Language, I added conditional parameters for different Indic languages. Now after changing language from App's setting it is reflecting for Hindi only and not for other languages.
While debugging and deep diving in the firebase's code I identified there is no support of Indic language except Hindi. As there are no locale values exist in dictionary 'FIRRemoteConfigFirebaseLocaleMap' of class
RCNDevice
.Reproducing the issue
Remote Config
parameter with default value on Firebase Console.Remote Config
parameter in the Localized App which supports bothHindi
andMarathi
.Hindi
from App's settings.Marathi
from App's settings.Firebase SDK Version
10.22.0
Xcode Version
15.3
Installation Method
CocoaPods
Firebase Product(s)
Remote Config
Targeted Platforms
iOS
Relevant Log Output
No response
If using Swift Package Manager, the project's Package.resolved
Expand
Package.resolved
snippetReplace this line with the contents of your Package.resolved.
If using CocoaPods, the project's Podfile.lock
Expand
Podfile.lock
snippetReplace this line with the contents of your Podfile.lock!
The text was updated successfully, but these errors were encountered: