Forum Xamarin.Forms

Lozalize custom renderer

MortenKruse.9726MortenKruse.9726 DKBeta ✭✭
edited February 2017 in Xamarin.Forms

Hi,
I have got all my text resources in the shared project (TextResources.resx).
Getting the right translation with
TextResources.Name

But how do I extract the right text resource when i'm in a specific environment, like a custom renderer in IOS?

Answers

  • NMackayNMackay GBInsider, University mod

    Can you not just reference the shared project in your platform specific projects?

  • No unfortunately not.

    Localization.TextResources.Name

    If I make TextResources public instead of internal, I can get Localization.TextResources.
    But I cannot get teh translations from the .resx file

Sign In or Register to comment.