In wordpress a translation is part of the code. If you change translations you should track the .po
files in “git” as if it was any other kind of code.
An alternative option is to override the textdomain used for translation and use another one that uses another .mo
file located at some “safe” location. But this is just a band-aid over the “translation is code” problem as theme will change text strings from time to time and your self made translation will just not work properly.
Related Posts:
- Using classes instead of global functions in functions.php
- Template for individual post designs
- Automatic Updates For Private And Commercial Themes?
- Pushing updates to your premium theme
- Front End Post Submit Form
- Should we localize custom-made themes / plugins?
- Upgrading a custom theme through the Dashboard
- Prevent update check for specific theme
- Theme Customizer not loading
- Prevent WordPress updates from overriding custom language translations?
- How can one update a theme on a live site without interruption?
- Version control for both Vagrant config and themes being developed [closed]
- Some translations do not work in my template class
- How to correctly add JQuery in a WP theme?
- If I build a custom theme, will it update?
- How to add a second stylesheet to the editor
- WP 3.1 upgrade breaks AutoFocus+ theme
- Translation Issue with WordPress Theme Check in comment_form function
- How to make theme elements customizable in wordpress?
- Limitations when modifying wp_title with a filter
- How to edit theme functions file to modify pagination?
- Customizer: save setting/control content to post/page
- Customize how a WordPress theme looks like in the Theme Selector
- Customizer – loading settings/controls/sections/panels based on a id/page id
- Integrate WooCommerce theme with a WordPress theme [closed]
- Widget Option is Missing
- How do you use WordPress for a website that’s not in a blog format?
- searchform.php doesn’t work properly
- Customizer: get_preview_url() inside customize_save_after hook
- New to WordPress – Read the Codex, Other Docs; Still Confused
- Create theme for mobile phones and tablets only?
- How to add custom page elements to the WYSIWYG editor?
- Can’t change theme name
- How to make updatable custom WordPress theme?
- Is hand coding required at all?
- Menu names not getting translated
- WordPress Twenty-Fourteen: How to Remove Home Page Header Image from Other Pages
- How to dowload and edit content of a website
- Update modified Shopify third-party theme [closed]
- How to prevent XSS attack in wordpress theme?
- Best strategy for providing theme options using customizer
- How Does One Create a Global Variable Repository
- Display Today’s date outside the loop?
- How to convert that page to a wordpress template? [closed]
- Turning WordPress Into full-featured website?
- How do I send out an update for my custom wordpress theme?
- How to add custom css file in theme?
- get_template_part vs action hooks in themes
- How to Link External jQuery/Javascript files with WordPress
- How to remove search bar from a wordpress theme? [closed]
- Get url of thumbnail from the media uploader
- How to change admin bar color scheme in MP6 / WP 3.8 front end?
- Best practice way to implement custom sections into a WordPress theme
- When to use esc_url, esc_html, esc_attr, and friends?
- What is the purpose of an extra file for translation?
- Displaying wp menus by name without using theme locations
- How to add dynamic inline style?
- Optimal solution to develop a wordpress theme?
- When developing a distributable Theme, does it HAVE to be “inheritable”?
- Do I really need the div class entry?
- Am I supposed to create a child theme for every theme I use?
- Best way to start becoming a wordpress developer
- Why wp_head() function not loading style.css?
- Set multiple templates per post
- How to add “Read More…” link in twentytwenty
- create-guten-block in wordpress theme?
- Displaying recent post excerpts on static front page
- Customizer: Unique identifier that distinguishes which image upload control is uploading an image
- Which html elements should be styled in wordpress theme
- How to add custom page attributes in WordPress?
- Folder name for a pro version of a WordPress.org theme?
- Admin: sub menu doesnt display under apperance when activate my themes
- registering a global template wordpress 6.0
- Copying the theme style files and images to duplicate the website but with a difference
- How to set Post meta-box defaults based on the choices made by user in Customizer?
- Theme Action to hook for one time only function [duplicate]
- How do I include a partial from a directory below a wordpress theme directory?
- Woocommerce Product attribute not imported with wordpress Importer [closed]
- first excerpt fine, subsequent post excerpts shift to the right instead of displaying vertically [closed]
- HTTP Error when uploading images over specific dimensions
- iPad WordPress theme?
- custom Background not showing after upgrade?
- Rolling your own WordPress Themes
- List categories of a post hierarchically?
- WordPress theme doesn’t read my translations from pt_BR.po file
- Is a multipurpose theme an alternative to modifying or creating a theme from scratch?
- WordPress menu walker – Get parent item text inside end_lvl function
- WordPress Blog Page displaying nothing
- Managing Custom Designed Content
- Customizer API way function is_customize_preview() works only in main page?
- Magnific Popup – Add Caption to Images
- Why do WordPress developers use so many opening and closing PHP tags when developing themes? [duplicate]
- Safe way to echo wp_trim_words
- How can I demonstrate themes well?
- Support Multiple featured images
- How to update my own theme?
- trying to figure out how to use more that one image upload in the same section in theme customizer
- WordPress custom jquery not found
- How to remove proudly created by WordPress in theme?
- Roll my own theme or customize an existing one [closed]