---
name: "Psh::Locale"
section: "3pm"
platform: "linux"
package: "psh"
version: "1.8-9"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/Psh::Locale"
---

# Psh::Locale(3pm)

containing base code for I18N

## NAME

Psh::Locale - containing base code for I18N

## SYNOPSIS

## DESCRIPTION

```
   Psh::Locale::init();
```

Initializes locale support

```
   @tmp= Psh::Locale::months();
```

Returns an array of locale-dependant month names

```
   @tmp= Psh::Locale::weekdays();
```

Returns an array of locale-dependant weekday names

```
   Psh::Locale::months(qw(Jan Feb ...));
```

Sets the month names

```
   Psh::Locale::weekdays(qw(Jan Feb ...));
```

Sets the weekday names

```
   Psh::Locale::get_text($name)
```

Returns the named text from the current locale

```
   Psh::Locale::set_text($name,$value)
```

Sets the text

## AUTHOR

Markus Peter, warp@spin.de
