flutter / website

Flutter documentation web site
https://docs.flutter.dev
Other
2.81k stars 3.22k forks source link

Document macOS localization #7767

Open stuartmorgan opened 3 years ago

stuartmorgan commented 3 years ago

When we reach the point of documenting the process of releasing a macOS application, we need to document how to localize the application at the OS level. That can be done as on iOS for anything generated by the OS itself, but since there's a menubar people will probably want that localized as well, so we can also point to documentation about adding localizations via lproj folders.

(We'll also need to decide if we want to provide pre-localized versions of the standard menu that's in our template; there's not an Apple-tooling-provided general solution to that problem for individual developers, unfortunately.)

/cc @csells

atsansone commented 1 year ago

@stuartmorgan : Are these changes similar to the iOS process? Could you point out some resources?

stuartmorgan commented 1 year ago

Yes, macOS also defines supported localizations via the Info.plist

sfshaza2 commented 3 months ago

Wow, this is ancient. @stuartmorgan, can this be as simple as updating the header to "iOS and macOS"?

stuartmorgan commented 3 months ago

can this be as simple as updating the header to "iOS and macOS"?

That's a start, and we could do that as a first step, but then there's still this important part for a real localized app:

but since there's a menubar people will probably want that localized as well, so we can also point to documentation about adding localizations via lproj folders.

I'm not sure how much detail we want to get into here; localizing the menubar requires using the native localization system, including Xcode UI.

General resources include: