# @ui18n/core

Core internationalization library with advanced features like caching, fallbacks, and performance optimization.

## 🚀 Installation

```bash
npm install @ui18n/core
```

## 📖 Quick Start

```typescript
import { createUI18n } from '@ui18n/core';

const ui18n = createUI18n({
  locale: 'en',
  messages: {
    en: { hello: 'Hello World' },
    zh: { hello: '你好世界' }
  }
});

const message = await ui18n.t('hello');
console.log(message); // 'Hello World'
```

## 📋 API Reference

### Main Exports

```typescript
// Core exports
export { ... }
```

### Configuration Options

```typescript
interface Config {
  // Configuration options
}
```

## 🎯 Examples

### Basic Usage
```typescript
// Basic example
```

### Advanced Usage
```typescript
// Advanced example
```

## 🔧 Configuration

### Options
- `option1`: Description
- `option2`: Description

### Environment Variables
- `UI18N_ENV`: Production/development mode

## 🧪 Testing

```bash
npm test
```

## 📝 Changelog

See [CHANGELOG.md](./CHANGELOG.md) for version history.

## 🤝 Contributing

See [CONTRIBUTING.md](../../CONTRIBUTING.md) for contribution guidelines.

## 📄 License

MIT © UI18n Team

## 🔗 Related Packages

- [@ui18n/core](../core) - Core internationalization library
- [@ui18n/react](../react) - React integration
- [@ui18n/vue](../vue) - Vue integration

---

**Part of the UI18n ecosystem** - Making internationalization simple and powerful.
