<prompt> Translate the following text to EnglishUjanja huo ulifanikiwa vizuri hadi wakati wa Marekebisho ya Meiji, wakati ambapo mawazo hayo ya Magharibi yalihitajiwa ili kuboresha nchi.  <response>: The ploy worked well enough until the Meiji Restoration, when those Western ideas were needed to modernize the country. 