You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+85-29Lines changed: 85 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -169,7 +169,7 @@ These custom styles offer creative ways to customize your translations, adding a
169
169
```
170
170
171
171
You can obtain an Anthropic API key from the [Anthropic website](https://www.anthropic.com).
172
-
For best results, we recommend using the Claude-3-5-Sonnet model for your translations rather than OpenAI GPT. This model provides more accurate and natural translations.
172
+
For best results, we recommend using the Claude-3-7-sonnet model for your translations rather than OpenAI GPT. This model provides more accurate and natural translations.
173
173
174
174
5. You're now ready to use the Laravel AI Translator!
175
175
@@ -203,45 +203,101 @@ return [
203
203
204
204
The package will generate translations like these:
205
205
206
-
- Korean (ko-kr):
206
+
- Korean:
207
207
```php
208
208
<?php
209
-
return array (
210
-
'notifications.new_feature_search_sentence' => '새로운 기능: 이제 단어뿐만 아니라 문장도 입력할 수 있어요. 심지어 여러분의 언어로도 가능해요.',
211
-
'notifications.refresh_after_1_min' => '1분 후에 새로고침하세요. 새로운 내용이 준비될 거예요! (이전 모델: :model, 업데이트: :updated_at)',
212
-
);
209
+
return [
210
+
'expertise' => [
211
+
'coding' => [
212
+
'title' => '코딩 & 제품',
213
+
'description' => '코딩은 사실상 제 인생 전부입니다. 11살 때부터 해리 포터와 스타크래프트 팬 사이트를 만들기 시작했습니다. 대학생이 되기 전에 넥서스 TK, 테일즈위버, 메이플스토리와 같은 다양한 게임 관련 웹 서비스를 개발했습니다. 대학 시절에는 웹사이트를 만드는 아르바이트로 돈을 벌었습니다. 현재 제 회사인 OP.GG도 어린 시절부터 개발해 온 게임 관련 서비스의 연장선으로, 이는 저에게 큰 자부심을 줍니다.',
'notifications.new_feature_search_sentence' => '혁명적 새로운 기능: 동무들! 이제 단어뿐만 아니라 문장도 입력하여 단어의 력사를 확인할 수 있습니다. 모국어로도 괜찮습니다. 인공지능이 중국어로 번역해드리겠습니다.',
235
-
'notifications.refresh_after_1_min' => '1분후에 새로고침하십시요. 새로운 내용을 볼수 있습니다! (이전 모델: :model, 갱신: :updated_at)',
236
-
);
269
+
return [
270
+
'expertise' => [
271
+
'coding' => [
272
+
'title' => '콤퓨터프로그람작성 & 제품',
273
+
'description' => '프로그람작성은 혁명적으로 나의 전생애입니다. 11살때부터 해리 포터와 스타크래프트 애호가싸이트를 만들기 시작하였습니다. 대학생이 되기전에 넥서스 TK, 테일즈위버, 메이플스토리와 같은 혁명적인 게임관련 망봉사들을 개발하였습니다. 대학시절에는 웹싸이트를 만드는 림시일로 돈을 벌었습니다. 현재 나의 회사인 OP.GG도 어린시절부터 개발하여온 게임관련 봉사의 련장선으로, 이는 나에게 큰 혁명적자부심을 줍니다.',
274
+
]
275
+
]
276
+
];
277
+
```
278
+
- 🤣 Korean (Busan Dialect):
279
+
```php
280
+
<?php
281
+
return [
282
+
'expertise' => [
283
+
'coding' => [
284
+
'title' => '코딩 & 제품',
285
+
'description' => '코딩은 사실상 제 인생 전부라 카모. 11살 때부터 해리 포터캉 스타크래프트 팬 사이트 만들기 시작했데이. 대학생이 되기 전에는 넥서스 TK, 테일즈위버, 메이플스토리 같은 여러 게임 관련 웹 서비스 개발했디. 대학 다닐 때는 웹사이트 만드는 아르바이트로 돈 벌었데이. 지금 제 회사인 OP.GG도 어릴 때부터 개발해 온 게임 관련 서비스으 연장선인데, 이기 내인데 억수로 자부심이 된다 카모.',
286
+
]
287
+
]
288
+
];
237
289
```
238
290
- 🤣 English (Reddit):
239
291
```php
240
292
<?php
241
-
return array (
242
-
'notifications.new_feature_search_sentence' => 'Whoa, hold onto your keyboards, nerds! We\'ve leveled up our search game. Now you can type entire sentences, not just measly words. Mind. Blown. And get this - it even works in your weird non-English languages! Our AI overlord will graciously translate your gibberish into Chinese. You\'re welcome.',
243
-
'notifications.refresh_after_1_min' => 'Yo, hit that F5 in 60 seconds, fam. Fresh content incoming! (Previous model was :model, last updated when dinosaurs roamed the Earth at :updated_at)',
244
-
);
293
+
return [
294
+
'expertise' => [
295
+
'coding' => [
296
+
'title' => 'Coding & Product',
297
+
'description' => 'Coding is practically my entire life, duh. Started building Harry Potter and StarCraft fan sites at 11 (yeah, I was *that* kid). Before even hitting university, I was already knee-deep in game sites like Nexus TK, TalesWeaver, and MapleStory. Paid my way through college building websites - because who needs a social life, right? Now I run OP.GG, which is basically just the grown-up version of what little-me was doing in his bedroom. Not gonna lie, pretty damn proud of that full-circle moment.',
298
+
]
299
+
]
300
+
];
245
301
```
246
302
247
303
## Configuration
@@ -261,7 +317,7 @@ This will create a `config/ai-translator.php` file where you can modify the foll
261
317
```php
262
318
'ai' => [
263
319
'provider' => 'anthropic',
264
-
'model' => 'claude-3-5-sonnet-latest',
320
+
'model' => 'claude-3-7-sonnet-latest',
265
321
'api_key' => env('ANTHROPIC_API_KEY'),
266
322
],
267
323
```
@@ -271,7 +327,7 @@ This will create a `config/ai-translator.php` file where you can modify the foll
271
327
| Provider | Model | Extended Thinking | Context Window | Max Tokens |
0 commit comments