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?
- The proper way to include/require PHP files in WordPress
- How to insert a logo in the header?
- Why doesn’t default WordPress page view use force_balance_tags?
- Any official way to create an admin theme?
- How can I remove the Static Front Page option from the Customizer
- Setting a Default ‘Theme Location’ When Creating a Menu
- Finding Page Template and Displaying Content
- Same theme name issue with wordpress repository theme
- Removing feeds from header using a function?
- How to add theme support?
- WordPress theme switcher
- WP_bootstrap_Navwalker_issue [closed]
- Font Awesome 5 Free – far working but fas is not? [closed]
- Q: How to pull data from custom table to populate zustomizer setting/control select options
- Overrite parent functions using child functions
- Does code in function.php differ from theme to theme
- How to have content scroll over background
- How can I change the theme of different posts using a plugin?
- Theme not showing up
- Change image size depending on page
- Is there a WordPress boolean for “theme_customizer_active()”?
- Why still output /wp-content/themes/twentynineteen?
- add shortcode support in customizer
- get_header action not working
- Unable to change the priority with ‘remove_action’ and ‘add_action’ in child theme
- Translate a child theme with pure PHP and gettext
- Remove h1 from 2015 theme
- WordPress pulling in random page themes
- Some doubts about WordPress handle the horizontal main menu visualization
- Update Specific Key Value in Complex `wp_options` object
- How to remove permalinks links presents in each page of my site?
- Is there a way to serve different resolution images to different devices?
- How to use multiple check-box values to work in a function and insert values in database
- How to make a function occurs for one time?
- How do I restructure the comment HTML layout?
- Cart displayed above header
- Theme: dropdown hover menu not showing up in IE/Edge
- Problem with pagination link (error 404)
- how to ensure responsiveness in wp themes? [closed]
- home is not working in wordpreess
- Is there a way to create sections under “Colors” panel in the Theme Customizer?
- Local theme changes upload on server but theme changes not showing
- WordPress Custom font not found
- HTML TO WP Theme : Submenu goes down wp_nav_menu
- Primary Menu Showing All Pages With No Sub-Nav
- Theme Development : License help
- Why the slideshow is not shown in my theme?
- How to throw the “We need ftp info” at a user
- Displaying Tags for the Page I’m On?
- How to make navigation a list without a plugin? [duplicate]
- Showcase your wordpress themes [closed]
- What is The Best Way to Make Parallax header effect for wordpress theme ?? pure CSS or using JavaScript? [closed]
- How do I add new layout width options in WordPress editor?
- REQUIRED: The theme uses the register_post_type() function, which is plugin-territory