Forum Xamarin.Mac

Change AssemblyName Based on Localized CFBundleDisplayName with Xamarin.Mac

berkbababerkbaba TRMember ✭✭
edited November 2019 in Xamarin.Mac


I coded a Xamarin.Mac app. I localized my app bundle name and bundle display name via InfoPlist.strings inside of "lproj" folders
with the help of xCode.

Localized bundle name is visible on menu via app name now:

However, unlike Xamarin.iOS, Xamarin.Mac gets app Dock name from Assembly Name in Project options, not from "CFBundleDisplayName" :

So, my app name on the dock icon could not response the localization settings, it stays unchanged.

So the important thing is:
How can I localize the "Assembly Name" in app options for Visual Studio Mac ? Thanks a lot.


  • ChrisHamonsChrisHamons USForum Administrator, Xamarin Team Xamurai

    You can not localize the assembly name, as that would require you to have different launchers for each langauge.

    If you have tokens in Info.plist file and in the InfoPlist.strings with CFBundleDisplayName, that should work. We aren't doing anything special inside Xamarin.Mac with application names. Consider filing an issue.

  • berkbababerkbaba TRMember ✭✭
    edited November 2019

    Thanks ChrisHamons. I open an issue for that at here:

    I have tokens in Info.plist file and in the InfoPlist.strings with CFBundleDisplayName of course :smile:


          Created by Berk Babadoğan on 13.11.2019.
        /* Localized Bundle Display Name */
        "CFBundleDisplayName" = "Ankara Üniversitesi Radyosu";
        "CFBundleName" = "Ankara Üniversitesi Radyosu";


    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
    <plist version="1.0">
        <string>2019 Berk Babadoğan</string>
Sign In or Register to comment.