-
Notifications
You must be signed in to change notification settings - Fork 4.8k
How do I support gettext to internationalize multilingualism? #3363
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
Comments
Try wrapping with SPDLOG_FMT_RUNTIME |
Use SPDLOG_FMT_RUNTIME wrapping can be used, thanks for guidance! |
Now I have a new problem: I defined the following macro to simplify gettext string extraction. However, the
|
I don't see why it should be wrapped using the |
The reason for wrapping the string with the same macro is purely for the convenience of unification. |
|
I want to use gettext for internationalization support, my code is as follows:
When I compile, the following error is reported. It seems that the first argument to the SPDLOG_INFO macro does not support strings computed at runtime. What should I do?
The text was updated successfully, but these errors were encountered: