[wp-trac] [WordPress Trac] #39587: link problems with language settings

WordPress Trac noreply at wordpress.org
Sun Jan 22 20:47:43 UTC 2017


#39587: link problems with language settings
--------------------------+------------------------------
 Reporter:  aansel        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  I18N          |     Version:  4.7
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------
Changes (by ocean90):

 * keywords:  reporter-feedback =>


Old description:

> Dear Developers!
>
> After WP versiion 4.7 i think i found a bug it is not listed.
>
> In version 4.7 we have the option to have a X site language but with Y
> language admin dashboard. (clever idea Cheers for it!!)
>
> But if i use the dashboard in Y language >>> it changes the links (after
> you edit something) language to Y language. (maybe it is related ~only
> in/with woocommerce)
>
> for example the link changes from "product" to "termek" or vica-versa...
>
> makes many pages unreachable...
>
> let me know if you need any further information or help!
>
> Please contact me on photogyulai at gmail.com  ( i tried to change my email
> to this but no luck)
>
> Very Best regards!!
>
> Ben

New description:

 Dear Developers!

 After WP versiion 4.7 i think i found a bug it is not listed.

 In version 4.7 we have the option to have a X site language but with Y
 language admin dashboard. (clever idea Cheers for it!!)

 But if i use the dashboard in Y language >>> it changes the links (after
 you edit something) language to Y language. (maybe it is related ~only
 in/with woocommerce)

 for example the link changes from "product" to "termek" or vica-versa...

 makes many pages unreachable...

 let me know if you need any further information or help!

 Very Best regards!!

 Ben

--

Comment:

 This happens because the rewrite slug of the post type `product` is
 translatable, see
 https://github.com/woocommerce/woocommerce/blob/7873a328ce871668143465f605df93b1683b0795/includes
 /class-wc-post-types.php#L258.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39587#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list