Translation of BTCPay Server Backend #5468
NicolasDorier
started this conversation in
Ideas / Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
To enhance the clarity and grammar of your text, consider the following revision:
To achieve our goal of widespread adoption of BTCPay Server by local communities, it is crucial to focus efforts on translating BTCPay. As it stands, only the checkout pages are translated, implying that BTCPay merchants or administrators must know English. This requirement significantly hinders local adoption.
The proposed solution should possess these characteristics:
IStringLocalizer
,IHtmlLocalizer
, or annotations for implementation.@woutersamaey has already contributed to this endeavor, as seen in his work on GitHub, where he enabled these interfaces to be supported by a JSON file. He also developed
TranslateTagHelpers
andTranslateAttrTagHelpers
, which we should definitely incorporate.We can reasonably presume that the backend operates in a specific language, which can be designated in the server's policies.
Translations should be stored in the database and loaded into memory during runtime.
Beta Was this translation helpful? Give feedback.
All reactions