usagov / test-at-home

Other
8 stars 4 forks source link

Translations of error states and assistive text #196

Closed porta-antiporta closed 2 years ago

porta-antiporta commented 2 years ago

There are error states and assistive text in the current application that need to be translated to Spanish and Chinese

porta-antiporta commented 2 years ago

g-met with @em-herrick she will update #157 with any content updates on our needed by 1/17 launch. closing as duplicate of #157.

hartsick commented 2 years ago

@porta-antiporta this is something different - capturing the strings devs have entered into the application for error states and assistive text! but they should be a small number

em-herrick commented 2 years ago

Sorry Porta! I wasn't clear about what this issue was, but I agree with Christa's comment above-- that we have a few outstanding things that need to translated

porta-antiporta commented 2 years ago

ok reopening. is there a doc/list of translations needed for tomorrow?

em-herrick commented 2 years ago

@hartsick would know, I asked her to start a doc separate from FINAL files to avoid confusion (LOL).

There was a request from USDS to get some FAQs translated which I have already sent to Julia to translate. The FAQ's will NOT appear on our app but wanted to flag for @porta-antiporta in case you get pinged about it.

hartsick commented 2 years ago

@hartsick

I haven't been able to bring in the updated content to see if we're missing anything, but here are the things that we need on the dev side based on what's currently; in the code base:

+--------+---------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Locale | Key                                         | Value in other locales or source                                                                                                                              |
+--------+---------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------+                                                                                                         |
|   es   | js.autocomplete.are                         | en are                                                                                                                                                        |
|   es   | js.autocomplete.assistive_hint              | en When autocomplete results are available use up and down arrows to review and enter to select. Touch device users, explore by touch or with swipe gestures. |
|   es   | js.autocomplete.is                          | en is                                                                                                                                                         |
|   es   | js.autocomplete.no_results                  | en No results found                                                                                                                                           |
|   es   | js.autocomplete.query_too_short             | en Type in %(minQueryLength) or more characters for results                                                                                                   |
|   es   | js.autocomplete.result                      | en result                                                                                                                                                     |
|   es   | js.autocomplete.results                     | en results                                                                                                                                                    |
|   es   | js.autocomplete.selected_option             | en %(selectedOption) %(index) of %(length) is highlighted                                                                                                     |
|   es   | kit_requests.new.autocomplete_label         | en Address                                                                                                                                                    |                                                                                                                                                |                                                                                                              
|   es   | activerecord.errors.messages.recaptcha_not_valid | en Javascript is required. Please enable or try another browser.                                                                                                                                                                                                                                        |
|   zh   | js.autocomplete.are                         | en are                                                                                                                                                        |
|   zh   | js.autocomplete.assistive_hint              | en When autocomplete results are available use up and down arrows to review and enter to select. Touch device users, explore by touch or with swipe gestures. |
|   zh   | js.autocomplete.is                          | en is                                                                                                                                                         |
|   zh   | js.autocomplete.no_results                  | en No results found                                                                                                                                           |
|   zh   | js.autocomplete.query_too_short             | en Type in %(minQueryLength) or more characters for results                                                                                                   |
|   zh   | js.autocomplete.result                      | en result                                                                                                                                                     |
|   zh   | js.autocomplete.results                     | en results                                                                                                                                                    |
|   zh   | js.autocomplete.selected_option             | en %(selectedOption) %(index) of %(length) is highlighted                                                                                                     |                                                                                                       |
|   zh   | kit_requests.new.autocomplete_label         | en Address                                                                                                                                                    |                                                                                                    |                                                                                                                                                
|   zh   | activerecord.errors.messages.recaptcha_not_valid | en Javascript is required. Please enable or try another browser.                                                                                                                                                                                                                                                     |
|
+--------+---------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------+

is this format unreasonable? 😂

other things needed:

hartsick commented 2 years ago

@amymok if you happen to see this, any chance you could give translations for above? I can then move them into app. thank you!

amymok commented 2 years ago

@hartsick

+--------+---------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Locale | Key                                         | Value in other locales or source                                                                                                                              |
+--------+---------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------+                                                                                                         |
|   es   | js.autocomplete.are                         | en are                                                                                                                                                        |
|   es   | js.autocomplete.assistive_hint              | en When autocomplete results are available use up and down arrows to review and enter to select. Touch device users, explore by touch or with swipe gestures. |
|   es   | js.autocomplete.is                          | en is                                                                                                                                                         |
|   es   | js.autocomplete.no_results                  | en No results found                                                                                                                                           |
|   es   | js.autocomplete.query_too_short             | en Type in %(minQueryLength) or more characters for results                                                                                                   |
|   es   | js.autocomplete.result                      | en result                                                                                                                                                     |
|   es   | js.autocomplete.results                     | en results                                                                                                                                                    |
|   es   | js.autocomplete.selected_option             | en %(selectedOption) %(index) of %(length) is highlighted                                                                                                     |
|   es   | kit_requests.new.autocomplete_label         | en Address                                                                                                                                                    |                                                                                                                                                |                                                                                                              
|   es   | activerecord.errors.messages.recaptcha_not_valid | en Javascript is required. Please enable or try another browser.                                                                                         |                                                                                                                                               |
|   zh   | js.autocomplete.are                         | zh 是                                                                                                                                                         |
|   zh   | js.autocomplete.assistive_hint              | zh 当自动完成结果可用时,使用向上和向下箭头查看并输入选择。 触摸设备用户可以通过触摸或滑动手势进行探索。                                                                    |
|   zh   | js.autocomplete.is                          | zh 是                                                                                                                                                         |
|   zh   | js.autocomplete.no_results                  | zh 没有结果                                                                                                                                                    |
|   zh   | js.autocomplete.query_too_short             | zh 输入 %(minQueryLength) 个或更多字符(字母、数字、标点符号)才可以获得结果。                                                                                        |
|   zh   | js.autocomplete.result                      | zh 结果                                                                                                                                                       |
|   zh   | js.autocomplete.results                     | zh 结果                                                                                                                                                       |
|   zh   | js.autocomplete.selected_option             | zh %(selectedOption), %(length)个选项中的第 %(index) 个选项已经突出显示                                                                                          |                                                                                                       |
|   zh   | kit_requests.new.autocomplete_label         | zh 地址                                                                                                                                                       |                                                                                                    |                                                                                                                                                
|   zh   | activerecord.errors.messages.recaptcha_not_valid | zh 需要使用 Javascript。 请启用或尝试用其他浏览器。                                                                                                           |                                                                                                                                           |
|        |                                             |                                                                                                                                                               |
+--------+---------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------+

I think I translated all of them, let me know if anything is missing.

em-herrick commented 2 years ago

@hartsick Pinging Leilani now- United States Post Office in Spanish:

Servicio Postal de los Estados Unidos

hartsick commented 2 years ago

Spanish content here: https://docs.google.com/document/d/1wmc4K-IwksgJnRuWh7WKo6jmWjG0-Ycunuxr2w1_o8Y/edit#