aryanpingle / ApolloArchive

A website dedicated to archiving and visualizing all of the Horizon franchise's lore in the form of skeumorphic datapoints.
https://apollo-archive.netlify.app
5 stars 1 forks source link

Localizaton #2

Open BartoszRojek opened 3 weeks ago

BartoszRojek commented 3 weeks ago

Hi,

I would like to see this page available in Polish. I have extracted the texts, the sound files might take some more time and work. Before I do this, I have a question:

Would you consider updating the page to support multiple languages? I'm unfamiliar with the PWA-stuff, so I don't know if adding another language would be much work.

In any case, please let me know.

aryanpingle commented 2 weeks ago

Hi Bartosz, I'm so happy someone knows about this site nearly 2 years later LOL.

You don't need to know what a PWA is, and you only need a tiny amount of HTML knowledge to change the files. But it would still be pretty difficult.

  1. If you only want to translate the datapoints: You simply need to change the files present in the zero-dawn and zero-dawn/frozen-wilds folders. For example, zero-dawn/audio/ contains all of the audio logs in .mp3 format. zero-dawn/texts/Audio.json contains all the audio transcriptions, and so on.
  2. If you want to translate the entire site, including the menu: You can change the HTML files like index.html along with the datapoints. Unfortunately, to support different languages you would need to do this entire process multiple times for each language and then link to the page from index.html, which is incredibly time-consuming.

In your use case you can follow the second point, and update all of the HTML files to be in Polish. I would LOVE to keep working on this project but I can hardly find the time for it anymore, and I'm afraid there's not much interest in this site nowadays.

But feel free to clone this repository and modify it however you wish. Let me know if I can help out in any way :)

BartoszRojek commented 1 day ago

Hi,

The Horizon series is also one of the best I’ve ever had the chance to experience, and I’ve experienced quite a lot. This site strikes me as a so-called “Passion Project,” I like it very much. The fact that it’s rarely visited doesn’t matter – it’s a gem, one of a kind. :)

Back to the updates... I started painstakingly translating the files but realized it was pointless. Since translating the site into any language requires a lot of work anyway, a much better solution would be to add multilingual support to the site and minimize the effort needed to create additional translations.

So, I did what I thought was right:

Additionally:

Lastly, the Audio part will come later, I just didn't want to postpone the current changes.

Let me know what you think.