[wp-trac] [WordPress Trac] #9674: Better support for custom post types
WordPress Trac
wp-trac at lists.automattic.com
Tue Jan 12 17:30:45 UTC 2010
#9674: Better support for custom post types
------------------------------------+---------------------------------------
Reporter: wnorris | Owner: ryan
Type: task (blessed) | Status: reopened
Priority: normal | Milestone: 3.0
Component: Administration | Version: 2.9
Severity: normal | Resolution:
Keywords: has-patch tested early |
------------------------------------+---------------------------------------
Comment(by demetris):
Replying to [comment:159 prettyboymp]:
> Is there a reason we can use translatable strings like {{{__('Edit
%s')}}} where %s is replaced by the post_type label. I'm know very little
about languages, but are there any languages where the verb changes based
on the characteristics of the noun being acted on?
>
> As a side note, we should probably add label_plural to the
register_post_type() args.
Here is a small example from three languages I can read, explaining why we
should not use strings like '''Edit %'''
English string: Delete Image
German string: Bild löschen
Greek string: Διαγραφή εικόνας
In the German phrase the noun is first, and then comes the verb. Also,
German is a declinative language, and here the noun is in the accusative
case (whose form for this noun is the same as the nominative).
Then, the Greek phrase uses two nouns, which is the standard for this type
of UI phrase. The first noun means “deletion”, and the second “image”.
The translation problem here is not because of the order of the two words,
but because the second noun is in the genitive case. (Greek is a
declinative language too.)
And these are just three languages. You can imagine what happens when we
start taking more languages into account. :-D
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9674#comment:161>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list