Codeinwp / feedzy-rss-feeds

FEEDZY RSS Feeds is an easy-to-use plugin giving you RSS aggregator and autoblogging functionality. Bring the best RSS feeds to your site.
GNU General Public License v2.0
79 stars 26 forks source link

Prepare the plugin for localization #978

Open stefan-cotitosu opened 2 months ago

stefan-cotitosu commented 2 months ago

What problem does this address?

We decided to translate Feedzy to German and to achieve this, the following changes need to be applied to the plugin.

What is your proposed solution?

Localize all the strings

Translate the Formbricks Survey

Reference: https://github.com/Codeinwp/neve/commit/cb3ec00dcaf38c4af58d82a213e5f0e38071a71d

Will this feature require documentation? (Optional)

No.

stefan-cotitosu commented 4 weeks ago

@Soare-Robert-Daniel, I have some questions here.


https://github.com/Codeinwp/feedzy-rss-feeds/blob/b44bf299e42e826512db8b791cc9400cfd1f4b6d/includes/layouts/feedzy-documentation.php#L21

Image


The heading, text and button on this page aren't translated.

https://github.com/Codeinwp/feedzy-rss-feeds/blob/master/includes/layouts/feedzy-improve.php

Image


The title and table content on this page are not translated.

https://github.com/Codeinwp/feedzy-rss-feeds/blob/master/includes/layouts/feedzy-pro.php

Image


This page should be translated as well.

https://github.com/Codeinwp/feedzy-rss-feeds/blob/b44bf299e42e826512db8b791cc9400cfd1f4b6d/includes/layouts/feedzy-tutorial.php#L15

Image

stefan-cotitosu commented 4 weeks ago

https://github.com/Codeinwp/feedzy-rss-feeds/blob/1373e6960198304e9093e10d2df14de4b09a4ab3/js/FeedzyBlock/Editor.js#L489

The strings: by, on, at, in


https://github.com/Codeinwp/feedzy-rss-feeds/blob/1373e6960198304e9093e10d2df14de4b09a4ab3/js/FeedzyBlock/inspector.js#L58

This labels label: __('1 Hour') should be label: __('1 Hour','feedzy-rss-feeds'), right?

Same situation on: https://github.com/Codeinwp/feedzy-rss-feeds/blob/1373e6960198304e9093e10d2df14de4b09a4ab3/js/FeedzyBlock/inspector.js#L60

https://github.com/Codeinwp/feedzy-rss-feeds/blob/1373e6960198304e9093e10d2df14de4b09a4ab3/js/FeedzyBlock/inspector.js#L76

https://github.com/Codeinwp/feedzy-rss-feeds/blob/1373e6960198304e9093e10d2df14de4b09a4ab3/js/FeedzyBlock/inspector.js#L88

https://github.com/Codeinwp/feedzy-rss-feeds/blob/1373e6960198304e9093e10d2df14de4b09a4ab3/js/FeedzyBlock/inspector.js#L100

https://github.com/Codeinwp/feedzy-rss-feeds/blob/1373e6960198304e9093e10d2df14de4b09a4ab3/js/FeedzyBlock/inspector.js#L107

https://github.com/Codeinwp/feedzy-rss-feeds/blob/1373e6960198304e9093e10d2df14de4b09a4ab3/js/FeedzyBlock/inspector.js#L126

https://github.com/Codeinwp/feedzy-rss-feeds/blob/1373e6960198304e9093e10d2df14de4b09a4ab3/js/FeedzyBlock/inspector.js#L138

https://github.com/Codeinwp/feedzy-rss-feeds/blob/1373e6960198304e9093e10d2df14de4b09a4ab3/js/FeedzyBlock/inspector.js#L141

https://github.com/Codeinwp/feedzy-rss-feeds/blob/1373e6960198304e9093e10d2df14de4b09a4ab3/js/FeedzyBlock/inspector.js#L148

https://github.com/Codeinwp/feedzy-rss-feeds/blob/1373e6960198304e9093e10d2df14de4b09a4ab3/js/FeedzyBlock/inspector.js#L157

From https://github.com/Codeinwp/feedzy-rss-feeds/blob/1373e6960198304e9093e10d2df14de4b09a4ab3/js/FeedzyBlock/inspector.js#L161 To https://github.com/Codeinwp/feedzy-rss-feeds/blob/1373e6960198304e9093e10d2df14de4b09a4ab3/js/FeedzyBlock/inspector.js#L177

If the problem is valid, please review the whole file as there are many occurences.