2014년 12월 13일 토요일

Yandex Translate -translating multiple buttons

Basically I have created an app that has 10 buttons, the text for each button is "Category A: Building 'X" (X being a number from 1 to 10) I am currently trying to add a translation feature where the user can choose one of three languages to translate to and all the text on the buttons will be translated to that language e.g. Spanish would become "Categoría A : Construcción 3". My app currently has three yandex translators for the three languages, which work but all of the translated text for each button is displayed in every single button which is a problem.

So my question is will I really have to add 30 (3 components for the different languages and there's 10 buttons so 3*10) different yandex translator components into the designer to translate each button individually all at once? And then have 30 translation requests in the block editor? Or is there an efficient/ simple way to do this?
p.s. sorry for long post and if its badly explained, thanks


댓글 없음:

댓글 쓰기