Skip to content

Commit 06732dc

Browse files
committed
docs: update README with custom language styles link
1 parent a3d7937 commit 06732dc

File tree

1 file changed

+2
-37
lines changed

1 file changed

+2
-37
lines changed

README.md

Lines changed: 2 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -4,43 +4,7 @@ AI-powered translation tool for Laravel language files
44

55
## 💡 New Feature: Custom Language Styles
66

7-
We've expanded our capabilities with support for custom language styles, allowing for unique and creative translations.
8-
9-
### Built-in Styles
10-
Our package already includes several built-in language styles, such as:
11-
12-
- `ko_kp`: North Korean style Korean
13-
- Various regional dialects and language variants
14-
15-
These are automatically available and don't require additional configuration.
16-
17-
### Custom Style: Reddit English
18-
As an example of custom styling, we've implemented a "Reddit style" English:
19-
20-
This style mimics the casual, often humorous language found on Reddit, featuring:
21-
- Liberal use of sarcasm
22-
- Internet slang and meme references
23-
- Playful skepticism
24-
25-
Example config:
26-
```php
27-
'locale_names' => [
28-
'en_reddit' => 'English (Reddit)',
29-
],
30-
'additional_rules' => [
31-
'en_reddit' => [
32-
"- Incorporate sarcasm and exaggeration",
33-
"- Use popular internet slang and meme references",
34-
"- Add humorous calls for sources on obvious statements",
35-
// More Reddit-specific rules can be added
36-
],
37-
],
38-
```
39-
40-
### Creating Your Own Custom Styles
41-
You can create your own custom language styles by adding new entries to the `locale_names` and `additional_rules` in the configuration. This allows you to tailor translations to specific audiences or platforms.
42-
43-
These custom styles offer creative ways to customize your translations, adding a unique flair to your localized content. Use responsibly to enhance user engagement while maintaining clarity and appropriateness for your audience.
7+
We've expanded our capabilities with support for custom language styles, allowing for unique and creative translations. [Learn more about Custom Language Styles](#custom-language-styles)
448

459
## Overview
4610

@@ -78,6 +42,7 @@ Also, this tool is designed to translate your language files intelligently:
7842
- Tone Consistency: Maintains a consistent tone across translations, customizable via configuration.
7943

8044
Do you want to know how this works? See the prompt in `src/AI`.
45+
8146
## Custom Language Styles
8247

8348
In addition to standard language translations, this package now supports custom language styles, allowing for unique and creative localizations.

0 commit comments

Comments
 (0)