bitcoinz-sites / btcz.rocks

https://btcz.rocks website
https://btcz.rocks
6 stars 18 forks source link

Some fixes about Turkish translation #22

Closed centrual closed 6 years ago

centrual commented 6 years ago

1) Fixed some errors in typo. 2) Closed missed ul tag. 3) Prettified html. 4) Created Turkish translation file. 5) Added missing buttons found in /en path.

egyptianbman commented 6 years ago

Hey @centrual, I'm working on a massive cleanup of this codebase in https://github.com/bitcoinz-sites/btcz.rocks/pull/11

The plan is to clean up the English version, replacing all text with links to the translation files. From there, I will be replacing all of the translated versions of the site with the English one, swapping out a variable for the current language.

I would keep updates to a minimum -- just text changes for now, so we don't cause merge issues with https://github.com/bitcoinz-sites/btcz.rocks/pull/11; thanks!

centrual commented 6 years ago

I can help you for create variables in translation files if you want.

egyptianbman commented 6 years ago

Of course, any help is appreciated!

What I'm doing is:

  1. Fixing the alignment in en/index.php
  2. Taking out any text blocks, and replacing them with <?= $t["This is the text that was removed"]; ?>
  3. Adding that text as a key to translations/en-full.php

This allows all translation files to inherit English, but can override any of the keys.

Please switch to the feature/cleanup branch for these updates, thank you!