Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4927 Lượt xem

Is it possible to import data via CSV files with translations.

For example, can I express a product name in English, Spanish and French in the same CSV file for product.template?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Does CSV import allow multilanguage? Yes.

For example, can I express a product name in English, Spanish and French in the same CSV file for product.template? Most probably not. But you certainly can if you use two CSV files.

Ảnh đại diện
Huỷ bỏ
Tác giả

OK, but how do you load them to properly set the name in the correct language? Do you have to switch user's language in order to import to each language? Or else?

I'm proposing loading the product.template model CSV file before loading another CSV file containing data to be loaded to the ir.translation model. It should be safe.

Bài viết liên quan Trả lời Lượt xem Hoạt động
5
thg 7 20
6714
5
thg 6 17
11557
1
thg 3 15
4830
3
thg 6 20
3767
1
thg 11 18
9300