PizzaReader icon indicating copy to clipboard operation
PizzaReader copied to clipboard

Localization

Open thefoxcc opened this issue 1 year ago • 11 comments

Hey, buddy. I have a suggestion you can make js/json localization files Frontend and Backend.

Also suggestion to implement default scrolling type selection when reading manga.

thefoxcc avatar Apr 08 '24 19:04 thefoxcc

Hey, buddy. I have a suggestion you can make js/json localization files Frontend and Backend.

Also suggestion to implement default scrolling type selection when reading manga.

Hello.
Frontend has already localizations, the files are 2 and are pretty small, you just need to copy one (for example it.json and it.php) and modify it. It is documented in the readme.

If you want to change the default scrolling type you just have to change the comic's format from "manga" to "long strip" in the comic's settings.

FedericoHeichou avatar Apr 08 '24 19:04 FedericoHeichou

Hey, buddy. I have a suggestion you can make js/json localization files Frontend and Backend. Also suggestion to implement default scrolling type selection when reading manga.

Hello. Frontend has already localizations, the files are 2 and are pretty small, you just need to copy one (for example it.json and it.php) and modify it. It is documented in the readme.

If you want to change the default scrolling type you just have to change the comic's format from "manga" to "long strip" in the comic's settings.

The front doesn't have all the lyrics as I understand it, In the backend and SEO settings would also be nice.

In the admin area itself, you can't specify "long strip" silence.

thefoxcc avatar Apr 08 '24 19:04 thefoxcc

Frontend should have everything from what I remember.
For backend you are right, actually there is not localization.
I'll add it if there will be enough interest.

Regarding SEO it is automatic. Do you mean something like customizing meta title and meta description for comic and chapter? You can already manipulate the meta image though (thumbnail link).

For the "long strip" you can't set it as default in the settings, but you have to specify the format in each comic

FedericoHeichou avatar Apr 08 '24 20:04 FedericoHeichou

Frontend should have everything from what I remember. For backend you are right, actually there is not localization. I'll add it if there will be enough interest.

Regarding SEO it is automatic. Do you mean something like customizing meta title and meta description for comic and chapter? You can already manipulate the meta image though (thumbnail link).

For the "long strip" you can't set it as default in the settings, but you have to specify the format in each comic

All right. Uh-huh,

by SEO, I mean manipulation: https://www.phoenixscans.com/comics/addio-eri image https://www.phoenixscans.com/read/oshi-no-ko/it/vol/15/ch/145#1 image similar to catalogs like

https://www.phoenixscans.com/comics/

Oh and another idea is to make a schema and display the manga ranking in the search engine

thefoxcc avatar Apr 08 '24 20:04 thefoxcc

Since this issue is still open I'll comment here.

When attempting to translate the UI to Arabic, the characters show as '??????????', perhaps something to do with the database character set? The chapter titles can display arabic characters just fine. The issue appears with menu tabs and 'Last Releases' And all the UI text that is not entered by the user.

Also, even after changing the comic format to Long Strip (Web Toons) the Page Rendering Mode is still defaults to Single Page for new readers.

It would be nice to have a way to default it to Long Strip for new users as it is the preferable option for many of my users.

miish3lov avatar Mar 09 '25 02:03 miish3lov

Since this issue is still open I'll comment here.

When attempting to translate the UI to Arabic, the characters show as '??????????', perhaps something to do with the database character set? The chapter titles can display arabic characters just fine. The issue appears with menu tabs and 'Last Releases' And all the UI text that is not entered by the user.

Also, even after changing the comic format to Long Strip (Web Toons) the Page Rendering Mode is still defaults to Single Page for new readers.

It would be nice to have a way to default it to Long Strip for new users as it is the preferable option for many of my users.

Hi For the long strip seems a bug. Can you open a separate issue for that?
For the "????" the text should be set in .js, can you send me an example file?

Edit: I opened it #86

FedericoHeichou avatar Mar 09 '25 09:03 FedericoHeichou

Wow, the latest update solved both problems for me, thanks :)

I guess my final 'localization' request would be to add support for RTL layout.

miish3lov avatar Mar 29 '25 19:03 miish3lov

Wow, the latest update solved both problems for me, thanks :)

I guess my final 'localization' request would be to add support for RTL layout.

What do you mean? The RTL is already there, but is there any problem with translations?

FedericoHeichou avatar Mar 29 '25 19:03 FedericoHeichou

Oh

Wow, the latest update solved both problems for me, thanks :) I guess my final 'localization' request would be to add support for RTL layout.

What do you mean? The RTL is already there, but is there any problem with translations?

Oh the translation is perfectly fine.

I meant (header for example) being in this order from right to left: (Logo - Website name - Menus - Dark/Light mode - Search bar).

Another example for the manga info page, I took a screenshot to elaborate further what I mean, I hope it makes it more clear

Image

I already examined .env and didn't find anything related to changing the layout to rtl

miish3lov avatar Mar 29 '25 20:03 miish3lov

Oh

Wow, the latest update solved both problems for me, thanks :) I guess my final 'localization' request would be to add support for RTL layout.

What do you mean? The RTL is already there, but is there any problem with translations?

Oh the translation is perfectly fine.

I meant (header for example) being in this order from right to left: (Logo - Website name - Menus - Dark/Light mode - Search bar).

Another example for the manga info page, I took a screenshot to elaborate further what I mean, I hope it makes it more clear

Image

I already examined .env and didn't find anything related to changing the layout to rtl

Oh, I understand. Didn't know it was a thing!
Is this an Arabic thing? Like having RTL layout to follow the writing?
Anyway I will try to have a look, I think it can be done with some CSS trick, but I don't remember how many flex div I have. Surely the bottom table is easy, for other things I have to check.
Just to not forget it, can you please open a issue for this feature request?

FedericoHeichou avatar Mar 29 '25 20:03 FedericoHeichou

Yeah. Not just an Arabic thing, more like the natural layout that flow better with any RTL language. Thanks for paying attention to this.

miish3lov avatar Mar 29 '25 20:03 miish3lov