ios - Global vs local resource conflicting location instructions within a bundle? -




i confused seem conflicting instructions whether include localized vs global resources within ios bundle. in "bundle structures" section of "bundle programming guide", states (bold emphasis):

an ios application should be internationalized and have a language.lproj folder each language supports. in addition providing localized versions of application’s custom resources, can localize launch images placing files same name in language-specific project directories. even if provide localized versions, however, should include default version of these files @ top-level of application bundle. default version used in situations specific localization not available.

that leads me believe should have both global resource resources aren't localized given language and/or region. however, in same programming guide bundle foundation documentation, states:

because global resources take precedence on language-specific resources, you should never include both global , localized version of given resource in app. when global version of resource exists, language-specific versions never returned. reason precedence performance. if localized resources searched first, bundle object might waste time searching nonexistent localized resource before returning global resource.

these statements seem directly contradict each other. can shed light on i'm missing here?





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -