Open PaulHeggarty opened 6 years ago
@PaulHeggarty Re Uploading the Page_DynamicTranslation.txt file, if an entry is new, then just upload it. But if an entry matches an existing record for all of the three fields "TranslationId","Category","Field", then it should only be uploaded if the "Trans" field is empty: May I ask why? One can achieve it but then you cannot correct a misspelled translation by uploading a csv file. If you do not want to change a translation it shouldn't be simply occur in the csv file.
@PaulHeggarty Re file Translations into Polish.zip
you are aware that inside these files the TranslationID (language) is wrong! Polish has the ID 29 NOT 12
@PaulHeggarty Re For the record, please paste here the tables with the Translation IDs for all translation languages, and the exact text of the Category name for all Studies: Please go to the Admin section; under Database
you will find Generate Page_DynamicTranslation template
which allows to download a template for a chosen language and study.
Regarding this comment three above this one: from @Bibiko "May I ask why?" The answer is because we will never want to change/correct any translations other than through the translation interface directly. If a translator has already begun entering any translations, they take priority. These automatic csv uploads are only to be done normally before a translator even starts on that study, to automatically fill in words that are highly likely to be right, though 1 in 20 or so may need correcting manually. But any manual translation already done takes priority and should never be overwritten by this csv upload.
Sorry for getting the Polish wrong! I'll programme a failsafe for that.
Issues Still Outstanding
[x] In the settings (spanner icon), it is possible to translate the choices, like 'Show sounds on map as:', but not to translate the options, e.g. 'dots' and 'labels'. Could you add these to the translation terms, please. In any case, 'labels' should be 'transcriptions' in English.
[ ] The search function is great, but currently searches only the source language (English) texts. Sometimes we need to search in the target language (translation) texts, so it would be good to add a separate search box for this, so we'd have two: 'Search English:" and "Search translations:"
[ ] This is now fixed, but best would be a toggle button to show or hide these. Now the original explanation, mostly fixed now … An earlier issue, now fixed, stopped 'long forms' of word entries from showing in the progress counts whenever the 'long form' was empty in English. This is correct for calculating the progress counts. However, the solution seems to have removed these entries also from the list to enter translations. This should not happen: the entries should still be visible there, because sometimes a long form is needed in a translation language, even if it is not needed in English. (I.e. a word like weather is not ambiguous in English, but the French translation needs a long form to clarify that it is 'temps' in the sense of 'weather', not 'time'). I also often need to tweak or add long forms in the English, which I can’t do without the blank entries showing.
[ ] The translation entry text boxes need to be wider, and to run to two lines if necessary, so that one can see the whole text entered -- for some of the sentences to translate, the full translation text can’t be seen currently. Best would be to adjust the spacing also so that the Description doesn’t run to too many lines, though :)...
[ ] I'm having trouble with the 'English' translations, which should allow me to edit the orginal English text, but changes don’t seem to be being properly applied.
[ ] In some cases (usually Germanic and Englishes), searches come up with a blank text, because they are trying to show the English 'translation', but where one has not been explicitly entered, the default (actually also English) should show instead, but this second 'instead' clause is not being applied. See fex:
Already Fixed
[x] Uploading the
Page_DynamicTranslation.txt
file, if an entry is new, then just upload it. But if an entry matches an existing record for all of the three fields "TranslationId","Category","Field", then it should only be uploaded if the "Trans" field is empty. Otherwise, the presumption is that the existing translation is right, and should not be overwritten by the one that is trying to be uploaded.[x] My new system produces translation records for all studies, whenever a particular word is found in multiple studies. All the numbers 1 to 10, for example, are present in almost all studies, and should not need to be translated multiple times. However, for practical reasons (also because sometimes I only want to upload individual studies), my outputs come as a bunch of different txt files, one per study, and the files are named
Page_DynamicTranslationXXXX.txt
, e.g.Page_DynamicTranslationMalakula.txt
and the other examples attached here. I presume this will fail to load, because of the XXXX that identifies the study. Could you make it possible for me to upload files like this, and then once uploaded you just automatically strip each name back down toPage_DynamicTranslation
&.txt
, which should then work?Translations into Polish.zip
[x] For the record, please paste here the tables with the
Translation ID
s for all translation languages, and the exact text of theCategory
name for all Studies.[x] The progress counts are great, but currently the counts are set to: ( [blanks in target language] - [blanks in English] ) / [total of all fields] They should actually be set to: ( [blanks in target language] - [blanks in English] ) / ( [total of all fields] - [blanks in English] ) So where a study has not been filled in at all, e.g. for the Germanic study in the Polish translation, the progress is currently counted as 110 / 220, when it should be 0 / 110. In the current system, 0% is not possible, and even when nothing has been translated, the score is usually 50% or near that.
[x] Under the 'Study Dependent' heading, the first entry
Indo-European
needs a line break before it -- it's currently in the middle of the screen.[x] The 'Spelling Languages' subsection hugely overgenerates entries to translate. Is there any way of hiding all the blank entries?
[x] 'Study Dependant' should actually be spelt 'dependEnt'.