-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial multilingual translation #3721
Comments
We have now decided on the approach as suggested also for Climsoft here climsoft/Climsoft#200 (comment). |
@dannyparsons - There are three commits in the Climsoft/#592 pull request for adding language translation.
There are currently three known problems with clsSimpleTranslateTool.vb . The first is that it used to use RESX files instead of a local SQLite database. RESX files are very limited - there is only one key and one value, therefore the implementation didn't use multiple columns for This led to obscure code like...
In SQLite it would be much better to implement this as:
The other two problems are mentioned in Climsoft/#592:
The easiest approach would probable be to rewrite language translation from scratch using clsSimpleTranslateTool.vb as a guide. Feel free to copy and paste any of the code that you need. |
@maxwellfundi I will work on this issue |
I query whether tooltips will be translated? If this is not possible initially, might it be possible in the future? They can be useful in some dialogues and menu items. If they are translated, with the current system of producing them, then I suggest this could warrant putting more effort into producing them in more of the software. If this is not possible in the current "system", then I wonder if it may be possible to change the way tooltips are coded, to facilitate the possibility of translation? If this is possible, then the video team could be well placed to become also the tooltip team. I would become the tooltip producer, in the same way as I now produce the scripts. |
@rdstern Thank you for the suggestion. I will try and translate tool tips. I am implementing translations in the order of priority below. If you prefer a different priority, then let me know, thanks
|
@lloyddewit that sounds fine. And I assume this answers my main question, namely that sometime in the future tooltips will be included. Hence, not for the sprint, but this means I should soon work with the documentation team on adding more tooltips to the software. Exciting! |
Tooltips are just controls in VB like everything else so no reason they won't be included in the system. |
Accidentally closed by PR #6621 |
@lloyddewit I wonder about the situation regarding tooltips. For example the Prepare > Calculator dialogue has quite a lot of them? Are they done dialogue-by-dialogue or more generally? |
The tooltip translation mechanism is in place and working. However each time a tooltip is updated/added it needs to go through the standard JSON/CrowdIn/database process. I will try and regenerate the list of all tooltip text, and add any missing tooltip text to the JSON file for translation. This should solve the issue for most tooltips. If there are any tooltips still not translating, then we'll need to address these separately. |
Replaced by issue #8323 |
Establishment of the multi lingual functionality and translation into at least one other language. (Probably French)
The text was updated successfully, but these errors were encountered: