Making WordPress.org

Opened 6 years ago

Closed 6 years ago

#3451 closed defect (bug) (maybelater)

"Reply" label, double language

Reported by: agm65's profile agm65 Owned by:
Milestone: Priority: normal
Component: Make (Get Involved) / P2 Keywords: close
Cc:

Description

As you can see in the image sometimes "Reply" label is present in the language of the original post and in your own profile language

https://diegobetto.com/tmp/bug_reply.png

Change History (7)

#1 @obenland
6 years ago

Hi @agm65, could you add a bit more context around that? On which P2 did you encounter it? It's Italian, I assume?

#2 @agm65
6 years ago

Hi @obenland, yes it's italian. The post was
https://make.wordpress.org/core/2018/02/13/gdpr-compliance-agenda-february-14/

If you want to create a post I can make comments and see if the same behaviour happens

#3 @obenland
6 years ago

I wonder if it's just due to either an incomplete set of translations, or two textdomains, where one has translations and the other does not. It's also surprising to me that translations are offered there in the first place, outside a language subdomain.

Do you happen to have more information on that @ocean90?

#4 @ocean90
6 years ago

  • Keywords close added

I'm guessing that it's the custom user language which is set to Italian. Since o2 uses admin-ajax.php for fetching new data we're in admin context so the user language is used for translations.

o2 should probably be changed to use custom REST API endpoints instead.

#5 follow-up: @obenland
6 years ago

@agm65 It looks like the required effort to fix this is not trivial. Do you think you could live with it for a while?

#6 in reply to: ↑ 5 @agm65
6 years ago

Yes of course.
if it helps in the investigation, it seemed sometimes that the label changed from English into Italian, just as a change resulting from an ajax fetch

Replying to obenland:

@agm65 It looks like the required effort to fix this is not trivial. Do you think you could live with it for a while?

#7 @obenland
6 years ago

  • Resolution set to maybelater
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.