Recent

Author Topic: [Closed] How is multi-language support provided to the program?  (Read 2410 times)

loaded

  • Hero Member
  • *****
  • Posts: 825
[Closed] How is multi-language support provided to the program?
« on: January 30, 2022, 06:35:36 am »
Hi All,
I write my applications in the local language, but now I'm thinking of adding English support.
I have a couple of ideas in my mind, for example;
For example, I can define a series for each word or sentence I will use and write them in and use them.
But I can't decide if this method is right or wrong.
What is the method of this job I want to learn?
I would be glad if friends who have experience and knowledge on the subject share their ideas and suggestions.Respects.
« Last Edit: January 30, 2022, 11:31:37 am by loaded »
Check out  loaded on Strava
https://www.strava.com/athletes/109391137

dbannon

  • Hero Member
  • *****
  • Posts: 2796
    • tomboy-ng, a rewrite of the classic Tomboy
Re: How is multi-language support provided to the program?
« Reply #1 on: January 30, 2022, 06:57:31 am »
using lazarus ?

Lazarus has full built in support for i18n, see the wiki page https://wiki.freepascal.org/Translations_/_i18n_/_localizations_for_programs

While you could do some some manual conversions, I'd strongly recommend the built in model.

Davo
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

loaded

  • Hero Member
  • *****
  • Posts: 825
Re: How is multi-language support provided to the program?
« Reply #2 on: January 30, 2022, 07:06:24 am »
Thank you so much dbannon for your reply.
I had never heard of it. So this is where I have to start!!!
There is another new topic to learn. Now I'll have to do some research.
Check out  loaded on Strava
https://www.strava.com/athletes/109391137

Lulu

  • Full Member
  • ***
  • Posts: 230
Re: How is multi-language support provided to the program?
« Reply #3 on: January 30, 2022, 08:43:20 am »
Hi,
I recently used poedit, it is very good
wishing you a nice life

Thaddy

  • Hero Member
  • *****
  • Posts: 14373
  • Sensorship about opinions does not belong here.
Re: How is multi-language support provided to the program?
« Reply #4 on: January 30, 2022, 10:12:11 am »
Thank you so much dbannon for your reply.
I had never heard of it. So this is where I have to start!!!
There is another new topic to learn. Now I'll have to do some research.
Not only start, but also finish there. It is a standard.
https://en.wikipedia.org/wiki/Internationalization_and_localization

Everything else is futile / square wheels.
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

loaded

  • Hero Member
  • *****
  • Posts: 825
Re: How is multi-language support provided to the program?
« Reply #5 on: January 30, 2022, 10:39:19 am »
Lulu Thank you very much for sharing your experience.

Not only start, but also finish there. It is a standard.
https://en.wikipedia.org/wiki/Internationalization_and_localization
Everything else is futile / square wheels.
Got it, Commander Thaddy :)
Check out  loaded on Strava
https://www.strava.com/athletes/109391137

Thaddy

  • Hero Member
  • *****
  • Posts: 14373
  • Sensorship about opinions does not belong here.
Re: How is multi-language support provided to the program?
« Reply #6 on: January 30, 2022, 10:46:11 am »
Got it, Commander Thaddy :)
Actually, in 1978/79 I was a tank commander.. Basically just a Sergeant (officially in Cavalry it is Wachtmeester in Dutch, NCO in English) at 19.  My father in law at that point was a Navy commander, which is very high rank. :D
« Last Edit: January 30, 2022, 10:52:43 am by Thaddy »
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

loaded

  • Hero Member
  • *****
  • Posts: 825
Re: How is multi-language support provided to the program?
« Reply #7 on: January 30, 2022, 10:49:07 am »
This is a huge coincidence, I was also the Leopard T2A1 Tank Commander in the military (between 2003-2005). 830 HP F54 Diesel with V8 Engine  ::)
Check out  loaded on Strava
https://www.strava.com/athletes/109391137

Thaddy

  • Hero Member
  • *****
  • Posts: 14373
  • Sensorship about opinions does not belong here.
Re: How is multi-language support provided to the program?
« Reply #8 on: January 30, 2022, 10:55:27 am »
At least I had a 12 valve engine: modified Aeroplane engine, Meteor... Rolls Royse, Centurion... 10 to one (ten liters of fuel per kilometer.... In terrain) Imagine a 48 ton Ferrari that reached 35 km per hour, sometimes....
I was jealous at the Leopard guys... But our guns were much better. (Average from my tank: 99.8, ONE miss at two kilometers)
« Last Edit: January 30, 2022, 11:02:04 am by Thaddy »
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

loaded

  • Hero Member
  • *****
  • Posts: 825
Re: How is multi-language support provided to the program?
« Reply #9 on: January 30, 2022, 11:16:35 am »
We could go 400 km with approximately 42 tons of 600 liters of diesel, and our maximum speed was 65 km. He could stand up in sudden gassing. If you brake suddenly on asphalt, it would fold the entire asphalt like a quilt. Single point turns were legendary. It took about 10 minutes for a skilled person to disassemble the 4.5-tonne engine, detach it from the body and run it outside.
The only thing I couldn't understand and admired was that the barrel, called Stabilization, was locked on the target. I wonder what kind of coding they used.
https://www.youtube.com/watch?v=222o2O_w3WI
With one word ; He had a legendary engineering..
« Last Edit: January 30, 2022, 11:19:57 am by loaded »
Check out  loaded on Strava
https://www.strava.com/athletes/109391137

PascalDragon

  • Hero Member
  • *****
  • Posts: 5481
  • Compiler Developer
Re: How is multi-language support provided to the program?
« Reply #10 on: January 30, 2022, 11:25:43 am »
Please keep on the topic. If you need to talk about military vehicles, please do so somewhere else.

loaded

  • Hero Member
  • *****
  • Posts: 825
Re: How is multi-language support provided to the program?
« Reply #11 on: January 30, 2022, 11:31:19 am »
I'm responsible for getting the matter to this stage, I wouldn't want anyone to be bothered by me.
Excuse me!
Check out  loaded on Strava
https://www.strava.com/athletes/109391137

Thaddy

  • Hero Member
  • *****
  • Posts: 14373
  • Sensorship about opinions does not belong here.
Re: [Closed] How is multi-language support provided to the program?
« Reply #12 on: January 30, 2022, 12:33:40 pm »
Yes, maybe we degressid a bit, Sorry about that.
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

Thaddy

  • Hero Member
  • *****
  • Posts: 14373
  • Sensorship about opinions does not belong here.
Re: How is multi-language support provided to the program?
« Reply #13 on: January 30, 2022, 12:37:16 pm »
I wonder what kind of coding they used.
It was mechanical and called Gyroscope. No programming involved. Two spinning wheels.
(OK. enough about that...)
What I also have to clarify is that it was me, not the gunner, for the miss. The commander is the secundary gunner)
« Last Edit: January 30, 2022, 01:03:12 pm by Thaddy »
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

 

TinyPortal © 2005-2018