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

Hi,

I have a form view and I want to translate its title, how can I specify that in the .po file?

Same for button's text. What do I put i the .po file?

Note: I know how to translate regular fields.

Thanks,

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

From setting menu load a required translation after that goto import/export under Translation menu from that select Export Translation :

1) select your language

2) select file format i.e. PO File

3) select custom module in Module to Export

and then click on export you will get your translation file.

edit that file with your string and put that file in your module directory inside the i18n folder.

after that upgrade your module and load a translation again.

you will get your translated terms.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 1 22
3882
2
thg 4 15
5529
2
thg 6 21
8966
0
thg 2 16
3929
1
thg 1 16
4848