In each file/submodule in the folder view and all its subfolders there's a function with name ending by theses 3 characters _ui. These functions are intended to be compiled from R code into the HTML/JS code, and as such they are going to be front end, visible to the users of the app. Try to wrap each potentialy in GUI visible texts with the function i18n$translate(" ... visible text here ...").
Example (file honeybee_info.R):
From this code
tags$p(
"Source code and scripts of the pDT can be found at ",
tags$a(icon("github"), "https://github.com/BioDT", href = "https://github.com/BioDT", target = "_blank"),
"."
)became the following code:
tags$p(
i18n$translate("Source code and scripts of the pDT can be found at "),
tags$a(icon("github"), "https://github.com/BioDT", href = "https://github.com/BioDT", target = "_blank"),
"."
)Try to do it everywhere it makes sense, not only inside HTML element tags$p etc. [ADDITIONAL COMMENT ADDED TODAY: "...etc." is the end of the last sentence of my first question.]
[AGAIN, TODAY's COMMENT, FROM NOW ON EVERYTHING FROM THE PROMPTS I WILL MARK WITH THESE SQUARE PARENTHESES.] [COMMENT: there was automatically added one line under my text, where is "View" button, which opens certain file, and on the right of this button is another button labeled as "honeybee_info.R59:63", which on click leads to the same file as View button, but specifically "scrolled" to lines 59:63.]
GitHub Copilot: [Under is this short info probably meant mainly for me:] Used 1 reference: app/view/honeybee/honeybee_info.R
I'll help search for and update UI text that should be translated in the view directory. Let me search for these files first.
- Searched for files matching
**/view/**/*_ui.R, no matches
Let me try a different search pattern to find the UI files.
[Again, short info:] Searched codebase for "function ui", 20 results

Let me scan through the UI files and help add the i18n translations. I'll start with identifying files that need changes and process them one by one.
Let me first list all UI files in the view directory:
[Again, short info:] > Searched for files matching **/view/**/**.R, 20 matches
[Instead of screenshots like above, I can copy relative path to all 20 matches:]
[Start of the box]
app/view/honeybee/beekeeper_param.R
app/view/honeybee/honeybee_info.R
app/view/honeybee/honeybee_beekeeper.R
app/view/honeybee/beekeeper_contributors.R
app/view/honeybee/beekeeper_lookup.R
app/view/honeybee/beekeeper_runsimulation.R
app/view/honeybee/beekeeper_map.R
app/view/honeybee/beekeeper_control.R
app/view/honeybee/honeybee_main.R
app/view/init.R
app/view/honeybee/beekeeper_plot.R
app/view/acknowledgements.R
app/view/ias/ias_contributors.R
app/view/rtbm/rtbm_app.R
app/view/ias/ias_main.R
app/view/ias/ias_app.R
app/view/ias/ias_info.R
app/view/rtbm/rtbm_map.R
app/view/rtbm/rtbm_contributors.R
app/view/rtbm/rtbm_main.R
[End of the box]
Let me start with the currently focused file, honeybee_info.R. I'll check its content and wrap visible text with i18n$translate().
[Again, short info:] CHECKED Read honeybee_info.R, lines 1 to 101
Looking at the honeybee_info.R file, I see that most text strings are already properly wrapped with i18n$translate(). There's just one place that needs an update - the "alt" attribute of the img tag. Let me fix that.
Made changes. [Which I attached below as screenshot:]
Let me check another file, for example disease_app.R, as it was visible in the search results:
[Again, short info:] CHECKED Read disease_app.R, lines 1 to 51
I see several text strings that need to be wrapped with i18n$translate() in disease_app.R. Let me update them:
Made changes.
[Now, there are below 4 buttons with the same labels]
disease_app.R +1 -1 (Edited disease_app.R, 1 insertion, 1 deletion)
disease_app.R +1 -1 (Edited disease_app.R, 1 insertion, 1 deletion)
disease_app.R +1 -1 (Edited disease_app.R, 1 insertion, 1 deletion)
disease_app.R +1 -1 (Edited disease_app.R, 1 insertion, 1 deletion)
[MY COMMENT: All these 4 buttons on click show the file disease_app.R, but each leads to the same lines. This is weird, because Copilot said "I see several text strings that needed to be wrapped with i18n$translate...", but that's not true, Copilot made just 1 change, attached below as screenshot:]

Let me check more content of this file to ensure I catch all text strings:
[Again, short info:] CHECKED Read disease_app.R, lines 51 to 101
I found another text that needs to be wrapped. Let me update it:
[Here's only one button:]
disease_app.R +1 -1 (Edited disease_app.R, 1 insertion, 1 deletion)
[This button leads to the exact same place in that file, exactly as it is in my last screenshot. I guess that those another changes, which were found, I should check myself by using two buttons bottom left: (Keep all edits) (Undo all edits) (View all edits). Or another hypothesis: due to the hard restart not all changes were made, you can check it for youself. Maybe there are changes.]
[OK, I will click on Keep all edits (there's a short info between prompt and the last Copilot response, stating that 2 files changes). And after that I will make another 2 gist with content exactly as these 2 changed files.]
[That's the]
