reference-guide:files:ow_pluginfiles_base_lang_1php

LANG_1.PHP/LANG_{$languageId}.PHP

  • File type: .php
  • Cached: yes.
  • Location: ow_pluginfiles/base/lang_{$languageId}}/1.php .
  • Permissions: 777 (ow_pluginfiles) / 777 (base) /666 (lang_.php file).
  • Related to: core platform.
  • Platform updates: do not erase lang_1.php file.
  • Related database tables: listed bellow

lang_1.php file stores cached version of languages keys for default English language from: _base_language, _base_language_key, _base_language_prefix and _base_language_value database tables.

lang_{$languageId}.php file stores cached version of languages keys for any additional installed languages.Ex: lang_2.php, lang_31.php and so on.

Cached files are responsible for increasing content delivery speed to an end user and significantly decreasing amount of database requests.

Default content

Sample:

<?php
$language[1] = array (
  'admin+account_type_sort_order' => 'Order',
  'admin+account_type_translation' => 'Translation',
  'admin+active_languages' => 'Active languages',
  'admin+add_button' => 'Add',
  'admin+add_key_form_lbl_add' => 'Add',
  'admin+add_key_form_lbl_key' => 'Key',
  ...

Where to find lang.php files

lang.php files of SkaDate software are located in /ow_pluginfiles/base directory and can be opened from cPanel's File Manager or FTP client ( ex. FileZilla).

To open lang.php from FTP client:

  • Log in to your server via FTP.
  • Navigate to /ow_pluginfiles/ directory » navigate to /base/ directory within /ow_pluginfiles/.
  • Right mouse click over needed lang.php file.
  • Select view/edit/download from opened action menu.

To open lang.php from File Manager:

  • Log in to cPanel.
  • Click the “File Manager” icon from “Files” section.
  • *Navigate to /ow_pluginfiles/ directory » navigate to /base/ directory within /ow_pluginfiles/.
  • Right mouse click over needed lang.php file.
  • Select view/edit/download from opened action menu.

If you are not sure how to use FTP client or File Manager, please refer to hosting provider's documentation.

…coming soon …

reference-guide/files/ow_pluginfiles_base_lang_1php.txt · Last modified: 2017/06/07 09:11 by 127.0.0.1