-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use an AlternativeValueBridge for localized fields V2 #71
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks simpler than the previous PR to me... WDYT?
src/main/java/io/quarkus/search/app/hibernate/I18nFullTextFieldAnnotationProcessor.java
Outdated
Show resolved
Hide resolved
7a6ff6a
to
f4951a5
Compare
Some more progress on this and a couple of findings so far:
|
Hey @rdnovell, do you think you could rename the |
I think you'll have to make sure we're resilient to such problems, and use the english version as a fallback. Might be worth adding notes about these in #64
I'll disable native tests. We don't deploy in native mode anyway, because of a different bug in EDIT: See #72
In prod, that's doable: we already alter the container image before running it. In dev mode, I'm less sure, as I don't know if dev services can use dockerfiles. We use OpenSearch, though. So maybe the plugins come pre-installed. Yeah I dream sometimes.
Probably better for the
You can probably assume it won't get translated. At least not in the near future. |
f4951a5
to
56c25de
Compare
56c25de
to
9273875
Compare
For Japanese: q: {
"url": "https://ja.quarkus.io/guides/security-getting-started-tutorial",
"type": "tutorial",
"origin": "quarkus",
"title": "Basic認証とJakarta Persistenceを使ったセキュリティ入門",
"summary": "組み込みのQuarkus Basic認証とJakarta Persistence IDプロバイダーを使用してQuarkusアプリケーションのエンドポイントを保護し、ロールベースのアクセス制御を有効にすることで、Quarkus <span class=\"highlighted\">Security</span>を開始できます。",
"content": [
"<span class=\"highlighted\">Getting</span> <span class=\"highlighted\">Started</span> with <span class=\"highlighted\">Security</span> using Basic authentication and Jakarta Persistence <span class=\"highlighted\">Get</span> <span class=\"highlighted\">started</span> with Quarkus <span class=\"highlighted\">Security</span> by <span class=\"highlighted\">securing</span>",
"Use Curl or a browser to test your application 下記の例のように、PostgreSQL サーバーを起動します: docker run --rm=true --name <span class=\"highlighted\">security</span>-<span class=\"highlighted\">getting</span>-<span class=\"highlighted\">started</span>"
]
} q: {
"url": "https://ja.quarkus.io/guides/hibernate-reactive",
"type": "guide",
"origin": "quarkus",
"title": "Hibernate Reactiveの使用",
"summary": "Hibernate Reactiveは、Hibernate ORMのリアクティブAPIで、ノン<span class=\"highlighted\">ブロッキング</span>データベースドライバとデータベースとのリアクティブスタイルのインタラクションをサポートしています。",
"content": [
"Hibernate Reactiveの使用 Hibernate Reactiveは、Hibernate ORMのリアクティブAPIで、ノン<span class=\"highlighted\">ブロッキング</span>のデータベースドライバと、データベースとのインタラクションのリアクティブなスタイルをサポート"
]
} so it looks like this mix works, but would be better if someone with language knowledge looks at the results 🙈 😃 |
9273875
to
8f44869
Compare
I'll pause on pushing more to this PR 🙈 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few comments on the latest version of this; I don't see any major problems.
We might need to handle the master
branch name for es
in order to expedite things, as I didn't get an answer... Would that be complex? It'll need to be handled in QuarkusIOSample
too, I suppose. Maybe put this info in application.properties
and load it from QuarkusIOSample
too (along with .env
?
Also... good luck rebasing this :D
src/main/java/io/quarkus/search/app/hibernate/I18nFullTextFieldAnnotationProcessor.java
Outdated
Show resolved
Hide resolved
src/main/java/io/quarkus/search/app/hibernate/I18nFullTextFieldAnnotationProcessor.java
Outdated
Show resolved
Hide resolved
src/main/java/io/quarkus/search/app/indexing/IndexingService.java
Outdated
Show resolved
Hide resolved
src/main/java/io/quarkus/search/app/fetching/FetchingService.java
Outdated
Show resolved
Hide resolved
Hello guys, I'm working in renaming the master branch to main, I was in PTO sorry for the delay. |
No worries, thanks! |
b5d707e
to
77a6f4d
Compare
LGTM; @marko-bekhta please merge when you're sure it will work in prod (branches renamed, etc.) |
77a6f4d
to
fd0b539
Compare
I've rebased it and tried to regenerate the samples as @rdnovell already created the main branch in the es repository. All worked fine, thanks! Let's wait a bit so that the branch transition is completed (still need to set it to be a default) and then merge. |
Oh, sorry for differences between these languages. |
fd0b539
to
15a5f88
Compare
Merging as per #86 (comment) |
Now es.quarkus.io and cn.quarkus.io repositories have main branches and their structures are aligned with pt.quarkus.io and ja.quarkus.io repositories.
Originally posted by @ynojima in #71 (comment) If there is anything I can help, please let me know. |
fixes #33
soooo here's an alternative using alternative 😃 value bridge.