Skip to content
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

对指定的文本不参与翻译 #12

Closed
xavierwangg opened this issue Feb 1, 2019 · 3 comments
Closed

对指定的文本不参与翻译 #12

xavierwangg opened this issue Feb 1, 2019 · 3 comments

Comments

@xavierwangg
Copy link

请问如何指定部分字符串不翻译

@Airsaid
Copy link
Owner

Airsaid commented Feb 1, 2019

您好,可以使用 translatable 属性。如:

<string name="app_name" translatable="false">Name</string>

@Airsaid Airsaid closed this as completed Feb 1, 2019
@xavierwangg
Copy link
Author

xavierwangg commented Feb 1, 2019

您好,可以使用 translatable 属性。如:

<string name="app_name" translatable="false">Name</string>

一句话里的部分单词可以做到吗,比如句子里的App名字不翻译,其他单词翻译?
就是翻译成其他语言的时候,App名字依然显示英文,其余部分翻译成对应语言。

@Airsaid
Copy link
Owner

Airsaid commented Feb 1, 2019

这个不支持。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants