Forum

Thread tagged as: Events

perch event traduction

Is there any way to use another language for the event app ? I found a lang/ folder but no option in the admin page.

DEVAUX Nicolas

DEVAUX Nicolas 0 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Yes, it should behave in the same way as all the other apps.

What are you trying?

Just trying to translate things :-) I translated some words but nothing changes in the interface. Tried to log out and log back in but no changes.

See this capture

Drew McLellan

Drew McLellan 2638 points
Perch Support

That file is called frfr1.txt when the name would need to be fr-fr.txt

I changed this, but there is a strange behaviour : when i log out and log back in a frfr1.txt is generated... see https://d.pr/i/xuj2d

Drew McLellan

Drew McLellan 2638 points
Perch Support

Have you selected your new translation in the UI?

Yes, and saved it, reloaded the page, empty cache.. No fix.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Is that file still being recreated?

No, the file has now correct name and no supplementary file is created

Drew McLellan

Drew McLellan 2638 points
Perch Support

What does debug say?

Perch: 3.0.1
Production mode: Production (100)
Installed apps: content (3.0.1), assets (3.0.1), categories (3.0.1), perch_events (1.9.5), perch_forms (1.9)
DB driver: PDO
DB tables: perch2_categories (0), perch2_category_counts (0), perch2_category_sets (0), perch2_content_index (2279), perch2_content_items (221), perch2_content_regions (41), perch2_events (3), perch2_events_categories (0), perch2_events_to_categories (0), perch2_forms (3), perch2_forms_responses (27), perch2_mailchimp_campaigns (1), perch2_mailchimp_imports (0), perch2_mailchimp_lists (1), perch2_mailchimp_subscribers (2), perch2_mailchimp_subscriptions (2), perch2_mailchimp_webhooks (1), perch2_menu_items (10), perch2_navigation (0), perch2_navigation_pages (0), perch2_page_templates (4), perch2_pages (29), perch2_resource_log (149), perch2_resource_tags (0), perch2_resources (31), perch2_resources_to_tags (0), perch2_settings (25), perch2_user_passwords (0), perch2_user_privileges (35), perch2_user_role_privileges (16), perch2_user_roles (2), perch2_users (4)
Users: 4
App runtimes:
<?php
$apps_list = [
    'content',
    'categories',
    'perch_forms',
    'perch_events'
];
Editor plug-ins:
H1: de7a96194575368c209328c88c5a6349
L1: 8acd15a4633b33d1efb6b1a1e5df7453
F1: 0c66c2e1f82f9e0b7617b2cb8270f2c7
headerColour: #d3d2d4
content_singlePageEdit: 1
helpURL:
siteURL: /
hideBranding: 1
content_collapseList: 1
lang: frfr1
update_2.8.27: done
latest_version:
on_sale_version:
update_2.8.29: done
headerScheme: light
dashboard: 0
hide_pwd_reset: 0
content_hideNonEditableRegions: 0
content_frontend_edit: 0
update_2.8.31: done
perch_mailchimp_api_key: 2cbfe683fdce38762dad89987d117479-us14
perch_mailchimp_campaign_url: /mailchimp/campaign/{campaignSlug}
perch_mailchimp_secret: c176299
update_2.8.32: done
update_2.8.34: done
update_3.0.1: done
perch_events_update: 1.8
perch_events_detail_url: /events/event.php?s={eventSlug}
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_DB_USERNAME: #######
PERCH_DB_SERVER: #######
PERCH_DB_DATABASE: ########
PERCH_DB_PREFIX: perch2_
PERCH_TZ: Europe/Paris
PERCH_EMAIL_FROM: #########
PERCH_EMAIL_FROM_NAME: #######
PERCH_LOGINPATH: /perch
PERCH_PATH: /home/balintsmbfrance/public_html/perch
PERCH_CORE: /home/balintsmbfrance/public_html/perch/core
PERCH_RESFILEPATH: /home/balintsmbfrance/public_html/perch/resources
PERCH_RESPATH: /perch/resources
PERCH_HTML5: 1
PERCH_RUNWAY:
PERCH_ERROR_MODE: DIE
PERCH_DATE_LONG: %d %B %Y
PERCH_DATE_SHORT: %d %b %Y
PERCH_TIME_SHORT: %H:%M
PERCH_TIME_LONG: %H:%M:%S
PERCH_RUNWAY_ROUTED:
PERCH_STRONG_PASSWORDS:
PERCH_ASSET_VERSION: 7ca631ef9a54e99e413a
PERCH_DEBUG:
PERCH_PREVIEW_ARG: preview
PERCH_TEMPLATE_PATH: /home/balintsmbfrance/public_html/perch/templates
PERCH_TEMPLATE_FILTERS:
PERCH_DEFAULT_DOC: index.php
PERCH_DEFAULT_EXT: .php
PERCH_PRODUCTION_MODE: 100
PERCH_XHTML_MARKUP:
PERCH_RWD: 1
PERCH_HTML_ENTITIES:
PERCH_SSL:
PERCH_STRIPSLASHES:
PERCH_PROGRESSIVE_FLUSH: 1
PERCH_PARANOID:
PERCH_FORCE_SECURE_COOKIES:
PERCH_DEFAULT_BUCKET: default
PERCH_TRANSLATION_ASSIST:
PERCH_PASSWORD_MIN_LENGTH: 6
PERCH_MAX_FAILED_LOGINS: 10
PERCH_AUTH_LOCKOUT_DURATION: 1 HOUR
PERCH_VERIFY_UPLOADS:
PERCH_PRIV_ASSIST:
PERCH_AUTH_PLUGIN:
PERCH_DB_CHARSET: utf8
PERCH_DB_PORT:
PERCH_DB_SOCKET:
PERCH_APPS_EDITOR_PLUGIN: markitup
PERCH_APPS_EDITOR_MARKUP_LANGUAGE: markdown
Drew McLellan

Drew McLellan 2638 points
Perch Support

How about your debug on the page that isn't working?

You also need to update to the current version.