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

Only one word or 10 characters is output for the petition title in Thai #11

Open
AmnestyAM opened this issue Sep 9, 2024 · 0 comments
Labels
bug Something isn't working translations String translation changes

Comments

@AmnestyAM
Copy link

This function is localized. For languages that count ‘words’ by the individual character (such as East Asian languages), the $num_words argument will apply to the number of individual characters

image

https://github.com/search?q=org%3Aamnestywebsite+wp_trim_words&type=code

https://developer.wordpress.org/reference/functions/wp_trim_words/

Seen on Thailand staging /petition/

image

@AmnestyAM AmnestyAM added bug Something isn't working translations String translation changes labels Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working translations String translation changes
Projects
Status: To do
Development

No branches or pull requests

1 participant