Sponsored Content
Operating Systems Solaris OpenSolaris instead Sun Solaris Post 302372567 by incredible on Wednesday 18th of November 2009 09:00:56 AM
Old 11-18-2009
Anything that you should set for a language package like for a locale?
 

3 More Discussions You Might Find Interesting

1. High Performance Computing

Solaris 10 and OpenSolaris : Web Based Management tools and Sun Cluster installation

Gurus, I have several questions : 1. Does Solaris 10/OpenSolaris has some kind of web based management tools ? Currently I am using WebMin. It worked fine, however I am very curious to use the tools provided by Sun Microsystem. Please advise for package name and how to activate.... (0 Replies)
Discussion started by: Zepiroth
0 Replies

2. Solaris

Installing OpenSolaris on Sun v120

I have come into my possesion a v120 server at work that was decommisioned from another project. I don't have the Solaris Installation CD nor do I have root or any user credentials on this server. My goal was to install OpenSolaris on this server and use it as a playground for learning UNIX... (6 Replies)
Discussion started by: stringzz
6 Replies

3. Solaris

Sun Studio 11 in OpenSolaris

Install Sun Studio 11 on OpenSolaris 2009.06 When run IDE - system return error: touch: cannot change times on /export/home/iktomy/.sunstudio/11-SunOS-i386/system/dontshowisw: Permission denied /opt/SUNWspro/prod/scripts/jdk_chooser: line 131: cat: command not found... (0 Replies)
Discussion started by: Iktomy
0 Replies
LOCALE_GET_PRIMARY_LANGUAGE(3)						 1					    LOCALE_GET_PRIMARY_LANGUAGE(3)

Locale::getPrimaryLanguage - Gets the primary language for the input locale

	Object oriented style

SYNOPSIS
publicstatic string Locale::getPrimaryLanguage (string $locale) DESCRIPTION
Procedural style string locale_get_primary_language (string $locale) Gets the primary language for the input locale PARAMETERS
o $locale - The locale to extract the primary language code from RETURN VALUES
The language code associated with the language or NULL in case of error. EXAMPLES
Example #1 locale_get_primary_language(3) example <?php echo locale_get_primary_language('zh-Hant'); ?> Example #2 OO example <?php echo Locale::getPrimaryLanguage('zh-Hant'); ?> The above example will output: zh SEE ALSO
locale_get_script(3), locale_get_region(3), locale_get_all_variants(3). PHP Documentation Group LOCALE_GET_PRIMARY_LANGUAGE(3)
All times are GMT -4. The time now is 01:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy