Extension Manager:Localized Addon Text: Difference between revisions

m
No edit summary
 
Line 71: Line 71:
=== Backwards Compatibility ===
=== Backwards Compatibility ===


In order to maintain backwards compatibility, where an <tt>em:localized</tt> doesn't exist for the required locale then the current method for retrieving the localizable information is used. So in the applications case a possible localized property is used and if not then the normal information on the install manifest. In the case of [https://addons.mozilla.org addons.mozilla.org] the normal information on the install manifest is the only fallback.
In order to maintain backwards compatibility, where an <tt>em:localized</tt> doesn't exist for the required locale then the current method for retrieving the localizable information is used. So in the application's case a possible localized property is used and if not then the normal information on the install manifest. In the case of [https://addons.mozilla.org addons.mozilla.org] the normal information on the install manifest is the only fallback.


It is suggested that add-on authors will want to continue using the localized properties in certain situations since that mechanism allows a third party locale pack to localize their add-on's metadata.
It is suggested that add-on authors will want to continue using the localized properties in certain situations since that mechanism allows a third party locale pack to localize their add-on's metadata.
12

edits