Recent

Author Topic: I Want Translate the hints of Object Inspector  (Read 2060 times)

robsean

  • New Member
  • *
  • Posts: 13
I Want Translate the hints of Object Inspector
« on: March 10, 2020, 02:14:12 am »
I Want Translate the hints of Object Inspector
Can you help Me?
where can i find the hints

Translate areas 1 and 2 of the following figure
« Last Edit: March 10, 2020, 02:17:10 am by robsean »

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9911
  • Debugger - SynEdit - and more
    • wiki
Re: I Want Translate the hints of Object Inspector
« Reply #1 on: March 10, 2020, 03:30:47 pm »
The hints are from several places.

- Part of it comes from comments in the sources. That is currently not translateable.
- Some keywords, such as "Description" may (I do not know) come from a resource string. If so, that may already be translated....
- Most of the content comes from the help system. The text is stored in <lazdir>/doc/xml/....

I am not sure how to best apply a translated version of the help. One could simply replace the files. Or add code to the IDE to search for language specific help (that probably needs to be implemented....)

It is possible (but I cant make any promise) that someone on the mail list knows more....

robsean

  • New Member
  • *
  • Posts: 13
Re: I Want Translate the hints of Object Inspector
« Reply #2 on: March 11, 2020, 12:55:14 am »
Thank You:
    The text is stored in <lazdir>/docs/xml/....
   simply replace the files is working well

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9911
  • Debugger - SynEdit - and more
    • wiki
Re: I Want Translate the hints of Object Inspector
« Reply #3 on: March 11, 2020, 02:00:55 am »
If you translate, you may want to check out the latest files from svn....

Though that depends. A one off effort may be good against the release.
The svn may contain updates for what was released, but also additions for the next version...

https://svn.freepascal.org/svn/lazarus/

or (private mirror) https://github.com/User4martin/lazarus

robsean

  • New Member
  • *
  • Posts: 13
Re: I Want Translate the hints of Object Inspector
« Reply #4 on: March 17, 2020, 03:01:28 am »
    I had translated some *.xml ,and it works.
   

 

TinyPortal © 2005-2018