112 Commits

Author SHA1 Message Date
Fraenkiman
73153cffed The setup, blog and admin area is automatically determined by the user agent
Fixes #216
Fixes #197

The exchange between browser and server transmits information about the client and its capabilities in headers - user agent, what it accepts, and (what interests us) language. The browser sends the language information in a header.
These values indicate that the browser accepts, for example, US English (en-us) or German (de-de).
We make use of this. The setup of FlatPress now starts automatically in the language of the user. The determined language will also be used as default language for the FlatPressblog and the administration area until the user defines a language himself.

For the setup the language files 'el-gr','es-es','fr-fr' are still missing.
Therefore I limited the automatic determination of the language to 'cs-cz', 'de-de', 'en-us', 'it-it', 'ja-jp', 'nl-nl', 'pt-br'. See #239
2023-04-18 23:27:40 +02:00
Frank Hochmuth
c3c9cff457
Merge branch 'flatpressblog:master' into upstream/issue205 2023-04-10 16:24:15 +02:00
Frank Hochmuth
bd604a04c2
Merge branch 'flatpressblog:master' into upstream/issue223 2023-04-10 16:23:05 +02:00
Frank Hochmuth
5fc63a4ec5
Merge branch 'flatpressblog:master' into upstream/issue205 2023-04-05 00:05:11 +02:00
Fraenkiman
0a0d4df693 more corrections of files in italian language
Many thanks to eagleman
2023-04-04 23:36:38 +02:00
Fraenkiman
420d745a15 Double close p element removed from language files
Fixes #222
2023-03-26 19:12:08 +02:00
Fraenkiman
3ad8a38183 Spaces inserted
Spaces inserted so that they can be encrypted in the e-mail header
2023-02-26 05:01:59 +01:00
Fraenkiman
c0e21ef0de Multilingual support for reporting to the site admin
fixes #205

fixes #207
Fixes the problem when the subject contains umlauts that the email cannot be delivered.
2023-02-18 23:35:37 +01:00
Fraenkiman
fba5adc876 Multilingual support for "Posted by"
Closes Issue #143

Preview revised

That's funny. There is a template for the preview of static pages for 13 years, and was not used.
2023-01-30 01:39:55 +01:00
azett
c53b92cd1b code formatting 2023-01-21 13:23:22 +01:00
Fraenkiman
47aa4cb37d Insert translation for Home, Logout in Admincenter
all FP standard languages

Comma missing

comma added
2023-01-14 02:53:49 +01:00
azett
c2ce07be57 more i18n for new comment mail subject 2022-12-28 13:12:59 +01:00
Fraenkiman
fc9bcf45e8 Subject line of email when new comment is not translated
Added multilingual support for email subject line for new comments
2022-12-26 02:17:16 +01:00
azett
7d748fe62a fixes #171 - thx! :) 2022-12-17 13:09:00 +01:00
Fabiano Santos
6324f2bf17 update portuguese language 2022-11-27 13:02:30 -03:00
azett
432b352c26 fixed Italian language pack by Giacomo Margarito - grazie mille! :) 2022-11-01 13:39:20 +01:00
azett
23dcf5d1e7 reworked Dutch translation by G0erwt - hartelijk dank! 2022-10-02 13:28:51 +02:00
azett
af1aa7759b Revert "Merge branch 'master' of https://github.com/flatpressblog/flatpress"
This reverts commit e9ad11742876f9f78d743a28afd547ee7480c7f9, reversing
changes made to f30fc6204a6bc7643d7952b1df98a3aa7b462dea.
2022-07-02 13:30:56 +02:00
azett
6eaafee1fa Merge branch 'master' into responsiveadmin
# resolved conflicts:
#	admin/panels/config/admin.config.tpl
#	admin/panels/entry/admin.entry.commentlist.tpl
#	fp-plugins/commentcenter/tpls/deletecomm.tpl
#	fp-plugins/commentcenter/tpls/editpol.tpl
2022-06-27 19:24:18 +02:00
azett
8c956c4d88 Fixed #100: pt-br had wrong country code 2022-06-17 20:21:58 +02:00
azett
9cc5ef1a70 Merge branch 'master' of https://github.com/flatpressblog/flatpress into responsiveadmin 2021-06-04 15:55:15 +02:00
azett
9a0c93de9e Added Dutch language pack by Macmee - hartelijk bedankt! 2021-06-03 14:12:43 +02:00
azett
89d4545920 BOM in French language files broke the admin area on some systems. BOM removed. 2021-06-03 11:37:01 +02:00
franciscoarocas
263f2b16df Merge branch 'master' into responsiveadmin 2021-04-01 00:42:44 +02:00
azett
43a7a43191 Italian language pack fix by Giacomo Margarito - grazie mille :) 2021-03-04 13:12:38 +01:00
azett
1030f1605d Fix for #78: Some language packs had a wrong key in lang.admin.entry.php. 2021-02-28 12:05:16 +01:00
azett
27c3e825b3 Fixed Heredoc strings. Turns out, Heredoc syntax - https://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc - only works with closing tags being the first characters of a line. Eclipse's reformatting and indention of the code does not seem to know that^^
Fix: Changed Heredoc strings to "normal" strings.
2021-02-13 13:47:18 +01:00
franciscoarocas
2eb21a98c8 Fixed entry tpls (PHP 8.0) and sceditor 2021-02-10 21:24:55 +01:00
franciscoarocas
8e2fc93d8a Merge branch 'master' into responsiveadmin 2021-02-08 15:37:07 +01:00
azett
e1e58d0a78 Italian language pack fix by Giacomo Margarito - grazie mille :) 2021-01-23 13:05:35 +01:00
azett
a44a898632 Added Spanish language pack - muchas gracias, Carlos a.k.a karelv! 2021-01-02 13:35:33 +01:00
azett
22abda2369 Fixed more template errors in order to get everything running with PHP 8.0.
Also: Change in language files, widget management is no longer called "experimental".
2021-01-01 12:57:46 +01:00
azett
091dc53c3b Reworked German language files by Detlef - thanks a lot! 2020-09-15 13:31:03 +02:00
Francisco
3eb02b0509 Merged 2020-07-11 15:18:33 +01:00
azett
e65bb9c549 Added the Italian language pack by Giacomo Margarito - grazie mille! 2020-05-09 14:11:32 +02:00
azett
b2ed0e207d Added Brazilian Portuguese language pack by randy - thanks a lot!
Added Japanese setup translation by North Hill Work Studios - thanks as well!
Also: git:ignore for local test content folders
2020-04-17 12:16:45 +02:00
azett
259b230f85 Added the Jananese Language Pack by NORTH HILL WORK STUDIO: https://nhws.localinfo.jp/ 2020-04-16 12:39:15 +02:00
azett
a1f5d625ee Added French language pack by Marc Thibeault and Dimitri Soufflet - thank you for fixing it, Gee! 2020-04-06 16:06:53 +02:00
azett
e4f542d5cd Hereby, I solemnly declare "Administration area" the official designation for our backend. #39 shall be deemed to be settled :D 2020-01-03 19:23:30 +01:00
azett
ddc2af887b Fixed some grammar stuff in German language file. 2019-12-26 19:07:56 +01:00
azett
72a8efd0c3 Bugfix: Removed UTF8 BOM from language files 2019-02-22 16:26:41 +01:00
azett
3fa488455b added Czech translation - mnohokrát děkuji, Lubomir! 2019-02-02 16:23:48 +01:00
azett
810310bfcc added German language files by laborix - thank you very much :) 2018-12-31 13:12:43 +01:00
azett
e72a859d85 added Greek language files from ghost's pull request: https://github.com/flatpressblog/flatpress/pull/6 - thanks a lot! 2018-12-31 12:53:16 +01:00
MarcThibeault
60442e00e3 Changed 'Archive' to 'Categories' in entry editor
Noticed that when editing an entry, the categories checkbox container's
name was 'Archive'. I modified the template and the lang file so that
it's 'Categories' from now on.
2014-02-28 21:13:14 -05:00
real_nowhereman
8dfa99d8c6 prevent cat-0 from being tampered with 2010-09-29 19:41:16 +00:00
real_nowhereman
60e0c7ba42 fixed a bug in config panel. added nicer temporary error message for missing language fields 2009-09-25 11:56:39 +00:00
real_nowhereman
754d2899b3 various changes in how dates are handled in config panels. added a new lang string. added a new fp_config field, new blogs will need a reinstall or customizing by hand the option panel 2009-09-23 12:57:10 +00:00
real_nowhereman
f95e233986 update language for edit comment panel 2009-03-28 08:02:46 +00:00
real_nowhereman
184168d7a2 added comment editor! 2009-02-27 10:37:40 +00:00