Flutter is an awesome cross-platform tool, and you can build your own iOS and Android app with incredibly low cost. But you may want to localize your app name, how you can do it with Flutter?
iOS
- Open ios/Runner.xcodeproj, and click Runner
2. Add any localization you want under Localizations(in my case, I added Japanese)
3. Inside of the Runner (not top level, with yellow icon), create new Strings File called InfoPlist.strings with right click “New File…”
4. Click “Localize…” button on right navigation
5. Now you probably have files for each localization
6. You can override app display name with
CFBundleDisplayName = “any name”;
7. Restart your app
Android
- Open android/app/src/main/res, and create values-en, and values-ja directory
- Create Strings.xml file in each directory, values, values-en, and values-ja
3. Inside of the file, add
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">any name</string>
</resources>
4. Open AndroidManifest.xml, change label like this
android:label="@string/app_name"
5. Restart your app
That’s it!
If you have any trouble, please let me know!.