Pimcore
  •  Development Documentation
    •  Overview
      • Pimcore Ecosystem
      • Develop for Pimcore
    •  Getting Started
      • Installation
      • Advanced Installation Topics
      • Directory Structure
      • Configuration
      • Architecture Overview
      • Create a First Project
      • Pimcore 5 For Pimcore Devs
    •  MVC
      • Controller
      •  Template
        • Twig
        • Layouts
        •  Templating Helpers
          • Placeholder
          • HeadLink
          • HeadMeta
          • HeadScript
          • HeadStyle
          • HeadTitle
          • InlineScript
        • Thumbnails
      •  Routing and URLs
        • Documents and Pretty URLs
        • Custom Routes
        • Redirects
        • Working with Sites
    •  Documents
      •  Editables
        •  Areablock
          • Bricks
        • Area
        • Block
        • Checkbox
        • Date
        • Relation (Many-To-One)
        • Relations (Many-To-Many)
        • Image
        • Input
        • Link
        • Multiselect
        • Numeric
        • Embed
        • PDF
        • Renderlet
        • Select
        • Snippet
        • Table
        • Textarea
        • Video
        • WYSIWYG
        • Scheduled Block
      •  Document Types
        • Newsletter Documents
        • Print Documents
      • Navigation
      • Predefined Document Types
      • Working with PHP API
      • Inheritance
      • Editable Naming Strategies
    •  Assets
      • Working with PHP API
      •  Working with Thumbnails
        • Image Thumbnails
        • Video Thumbnails
        • Document Thumbnails
      • Accessing Assets via WebDAV
      • Restricting Public Asset Access
    •  Objects
      •  Object Classes
        •  Data Types
          • Text Types
          • Number Types
          • Date Types
          • Select Types
          • Dynamic Select Types
          • Relation Types
          • Blocks
          • Classification Store
          • Table
          • Structured Table
          • Fieldcollections
          • Object Bricks
          • Localized Fields
          • Geographic Types
          • Image Types
          • Video Type
          • Calculated Value Type
          • Others
          • Reverse Many To Many Object Relation Type
          • Consent
        •  Layout Elements
          • Dynamic Text Labels
          • Preview Iframe
        •  Class Settings
          • Inheritance
          • Variants
          • Preview
          • Custom Icons
          • Custom Layouts
          • Custom Views
          • Locking Fields
          • Path Formatter
          • Link Generator
      • Working with PHP API
      • External System Interaction
      • Customize Editing Interface
    •  Multi Language i18n
      • Localize your Documents
      • Shared Translations
      • Admin Translations
      • Formatting Service
    •  Workflow Management
      •  Configuration Details
        •  Placeholder Example
        • Marking Stores
        • Support Strategies
        • Permissions
        • Workflow Tutorial
        • Workflow Report
        • Working with PHP API
      •  E-Commerce Framework
        • Architecture Overview
        • Installation
        •  Configuration
          • PimcoreEcommerceFrameworkBundle Configuration Reference
        •  Index Service
          •  Product Index Configuration
            • Assortment Tenant Configuration
            • Data Architecture and Indexing Process
            • Elastic Search
            • Findologic
          • Product List
          • Mockup Objects
        •  Filter Service
          • Elastic Search
        •  Working with Prices
          • Price Systems and getting Prices
          • Tax Management
          • Pricing Rules
          • Vouchers
          • Calculate with Prices
        • Working with Availabilities
        • Cart Manager
        •  Checkout Manager
          • Basic Configuration
          • Checkout Steps
          • Committing Orders
          • Integrating Payment
          • Checkout Tenants
        •  Payment
          • Wirecard QPay
          • Wirecard Seamless
          • Datatrans
          • PayPal
          • Klarna
          • OGone
          • MPay24
          • PayU
          • Recurring Payments
        •  Order Manager
          • Working with Order Lists
          • Working with Order Agent
        • Tracking Manager
      •  Tools and Features
        • Versioning
        • Scheduling
        • Notes and Events
        • Properties
        • Tags
        • Perspectives
        • Application Logger
        • Newsletter
        • Glossary
        • QR Codes
        • System Settings
        • Website Settings
        •  Marketing Settings
          • Analytics
          • Piwik
        • Custom Reports
        • Rendering PDFs
        • Cloning Elements
        • Permission Analyzer
        • GDPR Data Extractor
        •  Targeting and Personalization
          • Visitor Info
          • Conditions
          • Data Providers
          • Action Handlers
          • Targeting Storage
          • Frontend Javascript
          • Migrating from the existing Targeting Engine
        • Robots.txt
        • Sitemaps
        • Two Factor Authentication
        • Notifications
      •  Development Tools and Details
        • Feature Flags And Debug Mode
        • Database Model
        • Logging
        •  Cache
          • Custom Cache Pools
          • Full Page Cache
        •  Security Authentication
          • Authenticate Pimcore Objects
          • Authenticate Against Admin Session
        • Console CLI
        • Debugging
        • Magic Parameters
        • Static Helpers
        • UUID Support
        • Adaptive Design Helper
        •  Placeholders
          • Object Placeholder
          • Text Placeholder
        •  Email Framework
          • Pimcore Mail
        • Testing
        • Extending a Backend User
        • Google Custom Search Engine
        • Working with Sessions
        • Migrations
        • Preview Scheduled Content
        • Custom Admin Login Entry Point
      •  Extending Pimcore
        • Add Your Own Dependencies and Packages
        • Overriding Models
        • Parent Class for Objects
        • Event API and Event Manager
        •  Bundle Developers Guide
          • Loading Service Definitions
          • Auto Loading Config And Routing Definitions
          • Bundle Collection
          •  Pimcore Bundles
            • Installers
          • Plugin Backend UI
          • Adding Document Editables
          • Adding Object Datatypes
          • Loading Admin UI Assets
        • Dependency Injection Tags
        • Maintenance Mode
        • Maintenance Tasks
        • Custom Persistent Models
        • Deeplinks into Admin Interface
      •  Deployment
        • Version Control Systems
        • Multi Environment
        • Deployment Tools
      •  Administration of Pimcore
        • Backups
        • Cleanup Data Storage
        • Commandline Interface
        • Users and Roles
      •  Installation and Upgrade
        • System Requirements
        •  System Setup and Hosting
          • Apache Configuration
          • Nginx Configuration
          • File Permissions
          • DB Setup
          • Additional Tools Installation
          • Cluster Setup
          • Performance Guide
          • Fix Performance Issues with XAMPP on Windows
          •  Amazon AWS Setup
            • Amazon AWS S3 Setup
        •  Updating Pimcore
          •  Upgrade from 4 to 5
            • Basic Migration
            • Migrate for Compatibility Bridge
            • Migrate to Symfony Stack
        •  Upgrade Notes
          •  Within V5
            • Update from 5.x to 5.4 or above
            • Workflow Management
          • V4 to V5
          •  Ecommerce Framework
            • Ecommerce Framework Price Objects
            • Ecommerce Framework Config Signature Changes
      •  Web Services
        • Query Filters
      •  Best Practice
        • Adding Button To Object Editor
        • Advanced Pricing System
        • Object Bricks vs Classification Store
        • Showing Custom Layouts based on Object Data
        • Modifying Permissions based on Object Data
        • Integrating Commerce Data with Content
        • Web2Print Extending Config for PDFX conformance
        • Using Tags for Filtering
        • Setup Multilanguage Multishop Product Index
        • Object Data Inheritance
        • Ecommerce Tracking
        • Build Role Rights System for Frontends
        • Building Custom Rest APIs
        • Master-Slave Database Connection
    •  User Documentation
      •  DataObjects
        • Grid Configuration General
        •  Grid Configuration Operators
          •  Operators
            • Anonymizer
            • AnyGetter
            • Arithmethic
            • AssetMetadataGetter
            • Base64
            • Boolean
            • BooleanFormatter
            • CaseConverter
            • CharCounter
            • Concatenator
            • DateFormatter
            • ElementCounter
            • FieldCollectionGetter
            • IsEqual
            • Iterator
            • JSON
            • LFExpander
            • LocaleSwitcher
            • Merge
            • ObjectBrickGetter
            • ObjectFieldGetter
            • PHP
            • PHPCode
            • RequiredBy
            • StringContains
            • StringReplace
            • Substring
            • Text
            • TranslateValue
            • Trimmer
        •  CSV Import
          •  Resolver
            • Id
            • Filename
            • Fullpath
            • GetByAttribute
            • Code
          •  Operators
            • Base64
            • BrickSetter
            • Ignore
            • Iterator
            • LocaleSwitcher
            • PHPCode
            • Published
            • Splitter
            • Unserialize
      •  Targeting and Personalization
        • Concepts
        •  How to Personalize Content
          • Define Target Groups
          • Visitor Profiling
          • Create Personalized Content
          • Deliver Personalized Content and Debug
        •  Examples
        •  Administration of Pimcore
          • Data Protection and GDPR

      Pimcore Academy
      Download
      GitHub
      Forums
      Gitter
      API Docs

      Built from pimcore/pimcore@dbd8ca with pimcore-docs@cb1585 .

      User Documentation DataObjects CSV Import Operators LocaleSwitcher

      Warning: You are browsing the documentation from version 4 to 10 of Pimcore. Please visit https://pimcore.com/docs/platform/ for the latest versions of Pimcore.
      Version:

      Operator Locale Switcher

      Symbol

      Switches the current locale to the selected one and restores the setting afterwards.

      Sample

      • Previous
      • Next