Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9167303
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T15:21:26+00:00 2026-06-17T15:21:26+00:00

Currently I try to fix a issue on our SocialEngine installation (which is built

  • 0

Currently I try to fix a issue on our SocialEngine installation (which is built on Zend) which shows in the language selector one language not in its native name (like “Deutsch” for “German”) but in the language the user has set the frontend (so instead of “Deutsch” you would see “German” when you set the language to English).

When looking in the source I’ve seen that Zend_Locale_Data loads a list of languages which are available for the system and tries to read a LDML file from a path which seems not to be on my machine:

$temp = self::_getFile($locale, '/ldml/localeDisplayNames/languages/language', 'type');

When the path is not on my computer, it has to be in the web but doing a search for “ldml” or “zend ldml” I don’t get any hint on this topic. Could you guide me through the fog?

Any help is appreciated. Thank you!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T15:21:28+00:00Added an answer on June 17, 2026 at 3:21 pm

    The '/ldml/localeDisplayNames/languages/language' that you see is not a file path but a XPath expression, the file that is read is an XML file located in Zend/Locale/Data/ and the filename is related to the given $locale parameter.

    e.g. For the english locale, the XML file loaded should be Zend/Locale/Data/en.xml. Opening this file will show you the structure selected by the XPath expression

    <?xml version="1.0" encoding="UTF-8" ?>
    <ldml>
    <!-- content skipped -->
    <localeDisplayNames>
        <!-- content skipped -->
        <languages>
            <language type="aa">Afar</language>
            <language type="ab">Abkhazian</language>
            <!-- etc... -->
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I currently try to use Reachability in iOS 5.1 on iPad. There is a
I am currently try to retrieve a latitude and longitude value from a location.
I'm currently (I try to) designing a RESTful API for a social network. But
I am a total beginner to Objective C. Currently I try to display a
Im currently facing the problem that when i try to set focus on some
I currently have MVS2008 and I want to try the 2010 version hoping that
I am currently using code similar to this: try { // IE ONLY var
I'm currently reading through this jquery masking plugin to try and understand how it
I am currently using two catch blocks after a try block. The first catches
I have started to try out noSQL databases now and are currently testing out

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.