Skip to content

Autogenerated cards misplace translations into wrong columns #29

Description

@deleuzei

Hello, I'm trying to autogenerate cards from English to French. I've set the lang field in cards_config.json

					"id": "29b15499-d339-4b1c-8b31-2d7466a29a2b",
					"name": "French Vocabulary - English to French",
					"src": 
					[
						{
							"type": "autogenerate",
							"file": "words.txt",
							"card_color": "#33AA33",
							"show_tags": true,
							"card_properties": 
							{
							"tags": ["french", "vocabulary", "autogenerated"]
							},
							"header": false,
							"pronunciation_in_reverse": false,
							"lang": 
							{
								"original": "en",
								"translation": "fr"
							},
							"one_translation": false,
							"audio": true
						}         
					]

The words.txt file contains three words in English

car
January
Monday

The translations generated by mnemocards generate and mnemocards maketsv place the generated translations in wrong columns:

ID	YourLanguageWord	YourLanguageExplanation	LanguageYouLearnWord	LanguageYouLearnPronunciation	LanguageYouLearnExplanation	Tags
0c452564-88b7-c86e-8906-bdc1d505d5cd	janvier		January	ˈjanyəˌwerē	<div class="definitions"><div class="speechpart">Nom</div><div class="line_1">the first month of the year, in the northern hemisphere usually considered the second month of winter.</div><div class="line_2">Sophie was two in January</div></div>	
1d686100-a3c0-c2c2-1d12-663c8e92706e	auto	<div class="synonyms"><div class="speechpart">Nom</div><div class="line_1">voiture</div><div class="line_2">['car', 'vehicle', 'carriage', 'coach', 'wagon', 'motor']</div><div class="line_1">car</div><div class="line_2">['car', 'bus', 'motor']</div><div class="line_1">wagon</div><div class="line_2">['car', 'wagon', 'coach', 'waggon', 'waggonload']</div></div>	car	kär	<div class="definitions"><div class="speechpart">Nom</div><div class="line_1">a four-wheeled road vehicle that is powered by an engine and is able to carry a small number of people.</div><div class="line_2">she drove up in a car</div></div>	
3c672ad7-8386-4ba3-29f9-1a0c5ca17138	Lundi	<div class="synonyms"><div class="speechpart">Nom</div><div class="line_1">lundi</div><div class="line_2">['Monday']</div><div class="line_1">le lundi</div><div class="line_2">['Monday']</div></div>	Monday	ˈməndā	<div class="definitions"><div class="speechpart">Nom</div><div class="line_1">the day of the week before Tuesday and following Sunday.</div><div class="line_2">I saw him on Monday</div></div>	

As you can see, the words contained in YourLanguageWord are in French, when they are supposed to be in English. It seems to be that this is opposite of intended behavior. The field YourLanguageWord is supposed to be "The word you want to learn but in your mother tongue or in a known language."

Has anyone encountered this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions