# SE-0278: Package Manager Localized Resources

**URL:** <https://forums.swift.org/t/se-0278-package-manager-localized-resources/33950>\
**Category:** Proposal Reviews\
**Tags:** packagemanager\
**Created:** [February 19, 2020, 11:18pm UTC](https://forums.swift.org/t/se-0278-package-manager-localized-resources/33950 "2020-02-19T23:18:17Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![GetSwifty](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/getswifty/32/39108_2.png) [@GetSwifty](https://forums.swift.org/u/GetSwifty)\
**Post date:** [February 21, 2020, 8:39pm UTC](https://forums.swift.org/t/se-0278-package-manager-localized-resources/33950/4 "2020-02-21T20:39:01Z")

</div>

> [@Mordil](#):
>
> Given:
> 
> ```swift
> Package A: defaultLocalization = "de" // also supports 'en'
> Package B: defaultLocalization = "fr" // also supports 'en'
> Root Project C: defaultLocalization = "en"
> B depends on A
> C depends on B
> // none support 'ru' localization
> 
> ```
> 
> a. If the root project calls code from 'B' for `ru` localization, will `de` or `fr` be the fallback?  
> b. If, during the call of 'B' code for `ru` , 'B' also calls 'A', which will be the fallback? `en` , `fr` , or `de` ?

Linking related discussion about this: [Package Manager Localized Resources - #22 by SDGGiesbrecht](https://forums.swift.org/t/package-manager-localized-resources/32963/22)

TLDR the behavior is defined, and can be changed, by the top-level Application. It can choose whether to use it's _own_ default, or mix the defaults.

Then if the Package doesn't support either, my understanding is when a localized-resource is accessed without the needed localization, it would default to that _Bundle_'s `defaultLocalization`.

---

_[View the full topic](https://forums.swift.org/t/se-0278-package-manager-localized-resources/33950)._
