Page MenuHomePhabricator

mpiontek (Martin Piontek)
User

Projects

User does not belong to any projects.

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Friday

  • Clear sailing ahead.

User Details

User Since
Aug 16 2016, 8:34 AM (430 w, 1 d)
Availability
Available

Recent Activity

Aug 18 2016

mpiontek added a comment to T11496: No clear instructions for translation.

I am so sorry, if my comments look a little bit "dumb".

Aug 18 2016, 2:38 PM · Bug Report
mpiontek added a comment to T11496: No clear instructions for translation.

No i realized, that the File with the translation has to go to the "/root/libphutil/src/extensions" Folder, some Values are translated in the ui, but others aren't. Is there a file, where i can find all strings, to translate it? Or is there another way to find out how to translate a specific string?

Aug 18 2016, 2:13 PM · Bug Report
mpiontek added a comment to T11496: No clear instructions for translation.

Let me add some note: A changing of the "Translation" - Dropdown in the individual account settings never makes a change. So it is not important if i choose german or something else. That is not influencing my request, but is that a normal behaviour? Or did i maybe make a mistake when i set up the system?

Aug 18 2016, 1:56 PM · Bug Report
mpiontek added a comment to P1821 src/infrastructure/internationalization/translation/PhabricatorPlainEnglishTranslation.php.

The default language can be changed using following patch (cf. T8916):

diff --git a/src/applications/settings/panel/PhabricatorAccountSettingsPanel.php b/src/applications/settings/panel/PhabricatorAccountSettingsPanel.php
index 72a2252..b233ba0 100644
--- a/src/applications/settings/panel/PhabricatorAccountSettingsPanel.php
+++ b/src/applications/settings/panel/PhabricatorAccountSettingsPanel.php
@@ -72,7 +72,7 @@ final class PhabricatorAccountSettingsPanel extends PhabricatorSettingsPanel {
 
     asort($translations);
     // TODO: Implement "locale.default" and use it here.
-    $default = 'en_US';
+    $default = 'en_P*';
     $translations = array(
       '' => pht('Server Default: %s', $locales[$default]->getLocaleName()),
     ) + $translations;
diff --git a/src/infrastructure/env/PhabricatorEnv.php b/src/infrastructure/env/PhabricatorEnv.php
index d5c4c34..3c09d0b 100644
--- a/src/infrastructure/env/PhabricatorEnv.php
+++ b/src/infrastructure/env/PhabricatorEnv.php
@@ -126,7 +126,7 @@ final class PhabricatorEnv extends Phobject {
 
     // TODO: Add a "locale.default" config option once we have some reasonable
     // defaults which aren't silly nonsense.
-    self::setLocaleCode('en_US');
+    self::setLocaleCode('en_P*');
   }
 
   public static function beginScopedLocale($locale_code) {
Aug 18 2016, 1:36 PM
mpiontek added a comment to T11496: No clear instructions for translation.

This is the full code of the file in my case.

Aug 18 2016, 1:13 PM · Bug Report
mpiontek added a comment to T11496: No clear instructions for translation.

Do you mean the patch, added by devurandom ? The first part of the patch ($default...) is not existing in my PhabricatorAccountSettingsPanel.php

Aug 18 2016, 1:04 PM · Bug Report
mpiontek created T11496: No clear instructions for translation.
Aug 18 2016, 12:09 PM · Bug Report