Translating concrete5
Permalink
Hi all!
Wanted to first say hello all. I am helping with translating concrete5 into Finnish.
I would like to also ask a few questions about the translation:
1. I have made some changes to the .po file and saved both .po and .mo files. Now when I update the files on my server, some of the strings remain unchanged. Is there some way to refresh the translation from the files? I have tried to clear my browsers cache and also the cache of c5.
I have two concrete5 installs with the same language files and the other is showing the correct strings.
2. Is there some way to edit the date format to dd/mm/yyyy? I think this has been asked before in the forum but I was wondering if there is a change in the latest 5.4.2 version.
3. If I find strings which are not yet translated in c5, where can I report these?
Wanted to first say hello all. I am helping with translating concrete5 into Finnish.
I would like to also ask a few questions about the translation:
1. I have made some changes to the .po file and saved both .po and .mo files. Now when I update the files on my server, some of the strings remain unchanged. Is there some way to refresh the translation from the files? I have tried to clear my browsers cache and also the cache of c5.
I have two concrete5 installs with the same language files and the other is showing the correct strings.
2. Is there some way to edit the date format to dd/mm/yyyy? I think this has been asked before in the forum but I was wondering if there is a change in the latest 5.4.2 version.
3. If I find strings which are not yet translated in c5, where can I report these?
Hello,
Glad to see some other Finns using Concrete5 :)
If you are using Apache server, you have to restart it to refresh the .po cache. This is quite annoying "feature" in Apache and as far as I know, at the moment there is no other method to clear the cache than a restart.
To set custom date formats, you can define the following in config/site.php
Hope this helps.
Glad to see some other Finns using Concrete5 :)
If you are using Apache server, you have to restart it to refresh the .po cache. This is quite annoying "feature" in Apache and as far as I know, at the moment there is no other method to clear the cache than a restart.
To set custom date formats, you can define the following in config/site.php
if (!defined('DATE_APP_GENERIC_MDYT_FULL')) { define('DATE_APP_GENERIC_MDYT_FULL', 'j. F\t\a, Y \k\l\o G:i'); } if (!defined('DATE_APP_GENERIC_MDYT')) { define('DATE_APP_GENERIC_MDYT', 'j.n.Y \k\l\o G:i'); } if (!defined('DATE_APP_GENERIC_MDY_FULL')) { define('DATE_APP_GENERIC_MDY_FULL', 'j. F\t\a, Y'); } if (!defined('DATE_APP_GENERIC_TS')) { define('DATE_APP_GENERIC_TS', 'G:i:s'); } if (!defined('DATE_APP_GENERIC_T')) { define('DATE_APP_GENERIC_T', 'G:i'); }
Viewing 15 lines of 21 lines. View entire code block.
Hope this helps.
Thank you for the settings.
The problem I am facing is that the original Finnish translation I downloaded from c5 contained strings already translated but in Spanish!
Now when I have updated the strings, the language is still Spanish.
Don't know if my host can restart the Apache, but I will have to check that.
A bit of problem...
The problem I am facing is that the original Finnish translation I downloaded from c5 contained strings already translated but in Spanish!
Now when I have updated the strings, the language is still Spanish.
Don't know if my host can restart the Apache, but I will have to check that.
A bit of problem...
ggod .this is just a piece of cake .i remember we have seen this thing on the forum ,you just search ok ?
Actually I have tried searching a couple of time already. No luck.
Ok, I got the server restarted by my host.
I am still wondering why some strings remain unchanged.
For example I modified the translation for Composer in 5.4.2 but the old translation is still used in my installation although the server was restarted.
EDIT:
I actually found this from php.net
http://www.php.net/manual/en/function.gettext.php#59589...
Not sure if this could be used in c5.
I am still wondering why some strings remain unchanged.
For example I modified the translation for Composer in 5.4.2 but the old translation is still used in my installation although the server was restarted.
EDIT:
I actually found this from php.net
http://www.php.net/manual/en/function.gettext.php#59589...
Not sure if this could be used in c5.
concrete5 core team decided to use myGengo service
http://www.concrete5.org/community/forums/internationalization/help...
http://mygengo.com/string/p/concrete5-1/...
FYI, here is the current plan for
http://www.concrete5.org/about/blog/core-roadmap/internationalizati...
And we are putting together the teams of Internationalization.
Community Elections
http://www.concrete5.org/about/blog/open-source-and-strategy/announ...