Recent

Author Topic: [SOLVED]How to achieve international language support  (Read 2842 times)

tomitomy

  • Sr. Member
  • ****
  • Posts: 251
[SOLVED]How to achieve international language support
« on: November 03, 2017, 01:59:56 am »
Hi, everybody, My program is about to be completed, now I want to make my program to achieve international language support, but I don't know how to do it, I saw a lot of ".po" files in lazarus's Language folder, I don't know how to use the ".po" file, someone can give me some advice?
« Last Edit: November 07, 2017, 02:22:12 pm by tomitomy »



tomitomy

  • Sr. Member
  • ****
  • Posts: 251
Re: How to achieve international language support
« Reply #3 on: November 04, 2017, 03:13:32 am »
Hi, Can I integrate the ".po" file into the program? Use the ".po" file in the program to implement multi-language support, what should I do?

tomitomy

  • Sr. Member
  • ****
  • Posts: 251
Re: How to achieve international language support
« Reply #4 on: November 05, 2017, 04:28:04 am »
Practice: http://wiki.lazarus.freepascal.org/Step-by-step_instructions_for_creating_multi-language_applications

Hi, everybody. I follow the tutorials, but I can not solve some problems. Can someone help me?

I have these questions:
1. Why some controls are not translated, how to translate these controls.
2. How to return to English interface.

The demo file is in the attachment.

tomitomy

  • Sr. Member
  • ****
  • Posts: 251
Re: How to achieve international language support
« Reply #5 on: November 05, 2017, 12:37:45 pm »
I'm sorry, I was not careful enough, I did not create ".en.po" file, so I can't switch back to English,

I modify the contents of the control, realizes the control language switching.

Thanks.

 

TinyPortal © 2005-2018