Hello,
As part of my work on a linter for translations, I’ve reviewed the translations that we use for the WordPress iOS app and especially the consistency in their use of placeholders (%d, %@, etc).
I have found a couple of inconsistencies, especially some translations don’t use the same placeholders as the original, and will need to be fixed (especially since usage of mismatching placeholders in a given translation can lead to a crash of the app when formatting the final text).
Can I ask contributors/editors in each of these locales Locale = language version, often a combination of a language code and a region code, for instance es_MX denotes Spanish as it’s used in Mexico. A list of all locales supported by WordPress in https://make.wordpress.org/polyglots/teams/ to fix the corresponding translations – so they use the same %d/%@/etc placeholders in the translations than the ones used in the original? Don’t hesitate to comment to let me know when translations for your respective locale Locale = language version, often a combination of a language code and a region code, for instance es_MX denotes Spanish as it’s used in Mexico. A list of all locales supported by WordPress in https://make.wordpress.org/polyglots/teams/ have been fixed!
Thanks for your contribution!
Original |
Expected types |
Actual types in translation |
%li words, %li characters |
Int,Int |
– |
Are you sure you want to continue?⮐ All site data will be removed from your %@. |
String A string is a translatable part of the software. A translation consists of a multitude of localized strings. |
– |
Content Structure⮐Blocks: %li, Words: %li, Characters: %li |
Int,Int,Int |
Int,Int |
Media uploaded (1 file) |
– |
Int |
You have %lu hidden WordPress sites. |
Int |
– |
You recently made changes to this post but didn't save them. Choose a version to load:⮐⮐From this device⮐Saved on %@⮐⮐From another device⮐Saved on %@⮐ |
String,String |
String |
© %ld Automattic, Inc. |
Int |
String |
Original |
Expected types |
Actual types in translation |
Unable to upload 1 post, %ld files |
Int |
– |
Original |
Expected types |
Actual types in translation |
Media filesize (%@) is too large to upload. Maximum allowed is %@ |
String,String |
String |
There has been an unexpected error while sending your reply |
– |
String |
When you make changes in the editor you'll be able to see the history here |
– |
String |
WordPress version too old. The site at %@ uses WordPress %@. We recommend to update to the latest version, or at least %@ |
String,String,String |
String,String |
your new domain %@ is being set up. Your site is doing somersaults in excitement! |
String |
– |
Original |
Expected types |
Actual types in translation |
Are you sure you want to continue?⮐ All site data for %@ will be removed from your %@. |
String,String |
– |
Content Structure⮐Blocks: %li, Words: %li, Characters: %li |
Int,Int,Int |
Int,Int |
Media uploaded (1 file) |
– |
Int |
You have %lu hidden WordPress sites. |
Int |
– |
Original |
Expected types |
Actual types in translation |
By setting up Jetpack you agree to our⮐%@ |
String |
– |
Media uploaded (1 file) |
– |
Int |
Original |
Expected types |
Actual types in translation |
If you remove %@, that user will no longer be able to access this site, but any content that was created by %@ will remain on the site. |
String,String |
– |
Would you still like to remove this person? |
– |
String |
Original |
Expected types |
Actual types in translation |
Are you sure you want to rewind your site back to %@?⮐This will remove all content and options created or changed since then. |
String |
String,String |
Original |
Expected types |
Actual types in translation |
Media uploaded (1 file) |
– |
Int |
Original |
Expected types |
Actual types in translation |
If you remove %@, that user will no longer be able to access this site, but any content that was created by %@ will remain on the site. |
String,String |
String |
Note: this one has actually already been fixed by @psmits1567
Original |
Expected types |
Actual types in translation |
Connecting %@ |
String |
– |
Original |
Expected types |
Actual types in translation |
The site at %@ uses WordPress %@. We recommend to update to the latest version, or at least %@ |
String,String,String |
String,String |
Original |
Expected types |
Actual types in translation |
Error updating %@. |
String |
– |
Original |
Expected types |
Actual types in translation |
%@ of %@ used on your site |
String,String |
String |
%li words, %li characters |
Int,Int |
– |
Are you sure you want to continue?⮐ All site data for %@ will be removed from your %@. |
String,String |
String |
Are you sure you want to rewind your site back to %@?⮐This will remove all content and options created or changed since then. |
String |
– |
Are you sure you wish to remove the topic '%@'? |
String |
– |
Media uploaded (1 file) |
– |
Int |
You have %lu hidden WordPress sites. |
Int |
– |
Original |
Expected types |
Actual types in translation |
%li words, %li characters |
Int,Int |
– |
If you remove %@, that user will no longer be able to access this site, but any content that was created by %@ will remain on the site. |
String,String |
– |
Media uploaded (1 file) |
– |
Int |
You have %lu hidden WordPress sites. |
Int |
– |
#editor-requests