Skip to main content
Question

Force a localization of Paywall to a specific Language in ObjectiveC project

  • September 15, 2025
  • 2 replies
  • 42 views

Forum|alt.badge.img+7

Hi.. I’ve got an old ObjC project that uses RevCat.  I don’t rely on the system localization but allow the user to choose the language to override it.. so I want to also override the paywall localization. 

I found another post that says this is possible in ios:

 

Purchases.shared.overridePreferredUILocale("es")

My app is ObjC and generally I can call any func with objC but this one doesn't seem to be found.. trying:

[[RCPurchases sharedPurchases] overridePreferredUILocale:@”es”];

But that’s not found.. is there a way? Or would I need to switch over and have some swift in my project (I haven’t really done that, I know it’s possible.. just trying to find the easiest solution at the moment)

 

Thanks!

D

This post has been closed for comments

2 replies

Forum|alt.badge.img+8
  • RevenueCat Staff
  • September 17, 2025

Hi, this is not possible at this time with ObjC but I have passed this along as feedback to the team. If you wanted to use this you would need to use a mix of Swift and ObjC and would need to create an Objective-C wrapper for this API.


Forum|alt.badge.img+7
  • Author
  • Active Member
  • September 17, 2025

Thanks for the reply. Yea that’s what I figured that it wasn’t exposed on your end. Ok I’ll figure it out and maybe a newer api ver will have it. Thanks again 

 

Monday I’ll migrate this code base. It’s just a big job for a 15 year old app!