콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
5235 화면

Instead of just the normal one _t()

아바타
취소
베스트 답변

Hello,

Sorry for the delay ! Using a lazy translation function allows the translation to take place when the string is rendered to the user, as opposed as translated when the framework interprets the line of code.

Our documentation contains many examples on how to use translations in both the Python ORM and the Javascript Web framework : https://www.odoo.com/documentation/18.0/developer/howtos/translations.html

This section of the page contains an example that illustrates the difference between using the Lazy Translation and the regular one : https://www.odoo.com/documentation/18.0/developer/howtos/translations.html#variables

Hope this helps!

Kind regards,


아바타
취소
관련 게시물 답글 화면 활동
0
7월 25
375
0
7월 25
774
0
6월 25
833
1
6월 25
996
1
6월 25
1010