Zend Framework

Option to limit Zend_Locale 'auto' setting to list of locales or available languages within Zend_Translate

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Won't Fix
  • Affects Version/s: 1.10.3
  • Fix Version/s: 1.10.4
  • Component/s: Zend_Locale, Zend_Translate
  • Labels:
    None

Description

It would be so nice if there would be any way of limiting the Locales considered by Zend_Locale 'auto'-detection setting.

List of Ideas:

  • Introduce Zend_Locale::$_available as array containing locales supported by the application.
  • Find a way to communicate with Zend_Translate (Zend_Locale setting 'translated') and ask for available locals

Activity

Hide
Thomas Weidner added a comment -

Limiting Zend_Locale based on a class which itself is based on Zend_Locale is nothing which should be implemented.

Other classes like Zend_Currency could be in need of informations which would then not be possible to provide when there are limitations based on a non Locale class.

When you need limitations then simply use the application resource or extend it to your own needs.

Show
Thomas Weidner added a comment - Limiting Zend_Locale based on a class which itself is based on Zend_Locale is nothing which should be implemented. Other classes like Zend_Currency could be in need of informations which would then not be possible to provide when there are limitations based on a non Locale class. When you need limitations then simply use the application resource or extend it to your own needs.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: